Interface GetScalingPlanResourceForecastDataResponse.Builder
- All Superinterfaces:
AutoScalingPlansResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetScalingPlanResourceForecastDataResponse.Builder,,GetScalingPlanResourceForecastDataResponse> SdkBuilder<GetScalingPlanResourceForecastDataResponse.Builder,,GetScalingPlanResourceForecastDataResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetScalingPlanResourceForecastDataResponse
@Mutable
@NotThreadSafe
public static interface GetScalingPlanResourceForecastDataResponse.Builder
extends AutoScalingPlansResponse.Builder, SdkPojo, CopyableBuilder<GetScalingPlanResourceForecastDataResponse.Builder,GetScalingPlanResourceForecastDataResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondatapoints(Collection<Datapoint> datapoints) The data points to return.datapoints(Consumer<Datapoint.Builder>... datapoints) The data points to return.datapoints(Datapoint... datapoints) The data points to return.Methods inherited from interface software.amazon.awssdk.services.autoscalingplans.model.AutoScalingPlansResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
datapoints
The data points to return.
- Parameters:
datapoints- The data points to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datapoints
The data points to return.
- Parameters:
datapoints- The data points to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datapoints
GetScalingPlanResourceForecastDataResponse.Builder datapoints(Consumer<Datapoint.Builder>... datapoints) The data points to return.
This is a convenience method that creates an instance of theDatapoint.Builderavoiding the need to create one manually viaDatapoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatapoints(List<Datapoint>).- Parameters:
datapoints- a consumer that will call methods onDatapoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-