Interface GetCapacityManagerMetricDataResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetCapacityManagerMetricDataResponse.Builder,GetCapacityManagerMetricDataResponse>,Ec2Response.Builder,SdkBuilder<GetCapacityManagerMetricDataResponse.Builder,GetCapacityManagerMetricDataResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetCapacityManagerMetricDataResponse
@Mutable @NotThreadSafe public static interface GetCapacityManagerMetricDataResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetCapacityManagerMetricDataResponse.Builder,GetCapacityManagerMetricDataResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetCapacityManagerMetricDataResponse.BuildermetricDataResults(Collection<MetricDataResult> metricDataResults)The metric data points returned by the query.GetCapacityManagerMetricDataResponse.BuildermetricDataResults(Consumer<MetricDataResult.Builder>... metricDataResults)The metric data points returned by the query.GetCapacityManagerMetricDataResponse.BuildermetricDataResults(MetricDataResult... metricDataResults)The metric data points returned by the query.GetCapacityManagerMetricDataResponse.BuildernextToken(String nextToken)The token to use to retrieve the next page of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
metricDataResults
GetCapacityManagerMetricDataResponse.Builder metricDataResults(Collection<MetricDataResult> metricDataResults)
The metric data points returned by the query. Each result contains dimension values, timestamp, and metric values with their associated statistics.
- Parameters:
metricDataResults- The metric data points returned by the query. Each result contains dimension values, timestamp, and metric values with their associated statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDataResults
GetCapacityManagerMetricDataResponse.Builder metricDataResults(MetricDataResult... metricDataResults)
The metric data points returned by the query. Each result contains dimension values, timestamp, and metric values with their associated statistics.
- Parameters:
metricDataResults- The metric data points returned by the query. Each result contains dimension values, timestamp, and metric values with their associated statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDataResults
GetCapacityManagerMetricDataResponse.Builder metricDataResults(Consumer<MetricDataResult.Builder>... metricDataResults)
The metric data points returned by the query. Each result contains dimension values, timestamp, and metric values with their associated statistics.
This is a convenience method that creates an instance of theMetricDataResult.Builderavoiding the need to create one manually viaMetricDataResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#metricDataResults(List.) - Parameters:
metricDataResults- a consumer that will call methods onMetricDataResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#metricDataResults(java.util.Collection)
-
nextToken
GetCapacityManagerMetricDataResponse.Builder nextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
- Parameters:
nextToken- The token to use to retrieve the next page of results. This value is null when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-