Interface GetCapacityManagerMetricDimensionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetCapacityManagerMetricDimensionsResponse.Builder,GetCapacityManagerMetricDimensionsResponse>,Ec2Response.Builder,SdkBuilder<GetCapacityManagerMetricDimensionsResponse.Builder,GetCapacityManagerMetricDimensionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetCapacityManagerMetricDimensionsResponse
@Mutable @NotThreadSafe public static interface GetCapacityManagerMetricDimensionsResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetCapacityManagerMetricDimensionsResponse.Builder,GetCapacityManagerMetricDimensionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetCapacityManagerMetricDimensionsResponse.BuildermetricDimensionResults(Collection<CapacityManagerDimension> metricDimensionResults)The available dimension combinations that have data within the specified time range and filters.GetCapacityManagerMetricDimensionsResponse.BuildermetricDimensionResults(Consumer<CapacityManagerDimension.Builder>... metricDimensionResults)The available dimension combinations that have data within the specified time range and filters.GetCapacityManagerMetricDimensionsResponse.BuildermetricDimensionResults(CapacityManagerDimension... metricDimensionResults)The available dimension combinations that have data within the specified time range and filters.GetCapacityManagerMetricDimensionsResponse.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
-
metricDimensionResults
GetCapacityManagerMetricDimensionsResponse.Builder metricDimensionResults(Collection<CapacityManagerDimension> metricDimensionResults)
The available dimension combinations that have data within the specified time range and filters.
- Parameters:
metricDimensionResults- The available dimension combinations that have data within the specified time range and filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDimensionResults
GetCapacityManagerMetricDimensionsResponse.Builder metricDimensionResults(CapacityManagerDimension... metricDimensionResults)
The available dimension combinations that have data within the specified time range and filters.
- Parameters:
metricDimensionResults- The available dimension combinations that have data within the specified time range and filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDimensionResults
GetCapacityManagerMetricDimensionsResponse.Builder metricDimensionResults(Consumer<CapacityManagerDimension.Builder>... metricDimensionResults)
The available dimension combinations that have data within the specified time range and filters.
This is a convenience method that creates an instance of theCapacityManagerDimension.Builderavoiding the need to create one manually viaCapacityManagerDimension.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#metricDimensionResults(List.) - Parameters:
metricDimensionResults- a consumer that will call methods onCapacityManagerDimension.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#metricDimensionResults(java.util.Collection)
-
nextToken
GetCapacityManagerMetricDimensionsResponse.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.
-
-