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
Modifier and TypeMethodDescriptionmetricDimensionResults
(Collection<CapacityManagerDimension> metricDimensionResults) The available dimension combinations that have data within the specified time range and filters.metricDimensionResults
(Consumer<CapacityManagerDimension.Builder>... metricDimensionResults) The available dimension combinations that have data within the specified time range and filters.metricDimensionResults
(CapacityManagerDimension... metricDimensionResults) The available dimension combinations that have data within the specified time range and filters.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 Details
-
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.Builder
avoiding the need to create one manually viaCapacityManagerDimension.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometricDimensionResults(List<CapacityManagerDimension>)
.- 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:
-
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.
-