Interface GetMetricDataRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetMetricDataRequest.Builder,,GetMetricDataRequest> RpcCborDataPlaneRequest.Builder,SdkBuilder<GetMetricDataRequest.Builder,,GetMetricDataRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetMetricDataRequest
@Mutable
@NotThreadSafe
public static interface GetMetricDataRequest.Builder
extends RpcCborDataPlaneRequest.Builder, SdkPojo, CopyableBuilder<GetMetricDataRequest.Builder,GetMetricDataRequest>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the EndTime property for this object.default GetMetricDataRequest.BuilderlabelOptions(Consumer<LabelOptions.Builder> labelOptions) Sets the value of the LabelOptions property for this object.labelOptions(LabelOptions labelOptions) Sets the value of the LabelOptions property for this object.maxDatapoints(Integer maxDatapoints) Sets the value of the MaxDatapoints property for this object.metricDataQueries(Collection<MetricDataQuery> metricDataQueries) Sets the value of the MetricDataQueries property for this object.metricDataQueries(Consumer<MetricDataQuery.Builder>... metricDataQueries) Sets the value of the MetricDataQueries property for this object.metricDataQueries(MetricDataQuery... metricDataQueries) Sets the value of the MetricDataQueries property for this object.Sets the value of the NextToken property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Sets the value of the ScanBy property for this object.Sets the value of the ScanBy property for this object.Sets the value of the StartTime property for this object.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rpccbordataplane.model.RpcCborDataPlaneRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
metricDataQueries
Sets the value of the MetricDataQueries property for this object.- Parameters:
metricDataQueries- The new value for the MetricDataQueries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDataQueries
Sets the value of the MetricDataQueries property for this object.- Parameters:
metricDataQueries- The new value for the MetricDataQueries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDataQueries
GetMetricDataRequest.Builder metricDataQueries(Consumer<MetricDataQuery.Builder>... metricDataQueries) Sets the value of the MetricDataQueries property for this object. This is a convenience method that creates an instance of theMetricDataQuery.Builderavoiding the need to create one manually viaMetricDataQuery.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometricDataQueries(List<MetricDataQuery>).- Parameters:
metricDataQueries- a consumer that will call methods onMetricDataQuery.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
Sets the value of the StartTime property for this object.- Parameters:
startTime- The new value for the StartTime property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
Sets the value of the EndTime property for this object.- Parameters:
endTime- The new value for the EndTime property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanBy
Sets the value of the ScanBy property for this object.- Parameters:
scanBy- The new value for the ScanBy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanBy
Sets the value of the ScanBy property for this object.- Parameters:
scanBy- The new value for the ScanBy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxDatapoints
Sets the value of the MaxDatapoints property for this object.- Parameters:
maxDatapoints- The new value for the MaxDatapoints property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelOptions
Sets the value of the LabelOptions property for this object.- Parameters:
labelOptions- The new value for the LabelOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelOptions
Sets the value of the LabelOptions property for this object. This is a convenience method that creates an instance of theLabelOptions.Builderavoiding the need to create one manually viaLabelOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolabelOptions(LabelOptions).- Parameters:
labelOptions- a consumer that will call methods onLabelOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
GetMetricDataRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetMetricDataRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-