Interface PutMetricDataRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutMetricDataRequest.Builder,,PutMetricDataRequest> JsonRpc10DataPlaneRequest.Builder,SdkBuilder<PutMetricDataRequest.Builder,,PutMetricDataRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutMetricDataRequest
@Mutable
@NotThreadSafe
public static interface PutMetricDataRequest.Builder
extends JsonRpc10DataPlaneRequest.Builder, SdkPojo, CopyableBuilder<PutMetricDataRequest.Builder,PutMetricDataRequest>
-
Method Summary
Modifier and TypeMethodDescriptionentityMetricData(Collection<EntityMetricDatum> entityMetricData) Sets the value of the EntityMetricData property for this object.entityMetricData(Consumer<EntityMetricDatum.Builder>... entityMetricData) Sets the value of the EntityMetricData property for this object.entityMetricData(EntityMetricDatum... entityMetricData) Sets the value of the EntityMetricData property for this object.metricData(Collection<MetricDatum> metricData) Sets the value of the MetricData property for this object.metricData(Consumer<MetricDatum.Builder>... metricData) Sets the value of the MetricData property for this object.metricData(MetricDatum... metricData) Sets the value of the MetricData property for this object.Sets the value of the Namespace property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.strictEntityValidation(Boolean strictEntityValidation) Sets the value of the StrictEntityValidation 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.jsonrpc10dataplane.model.JsonRpc10DataPlaneRequest.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
-
namespace
Sets the value of the Namespace property for this object.- Parameters:
namespace- The new value for the Namespace property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricData
Sets the value of the MetricData property for this object.- Parameters:
metricData- The new value for the MetricData property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricData
Sets the value of the MetricData property for this object.- Parameters:
metricData- The new value for the MetricData property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricData
Sets the value of the MetricData property for this object. This is a convenience method that creates an instance of theMetricDatum.Builderavoiding the need to create one manually viaMetricDatum.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometricData(List<MetricDatum>).- Parameters:
metricData- a consumer that will call methods onMetricDatum.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entityMetricData
Sets the value of the EntityMetricData property for this object.- Parameters:
entityMetricData- The new value for the EntityMetricData property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityMetricData
Sets the value of the EntityMetricData property for this object.- Parameters:
entityMetricData- The new value for the EntityMetricData property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityMetricData
PutMetricDataRequest.Builder entityMetricData(Consumer<EntityMetricDatum.Builder>... entityMetricData) Sets the value of the EntityMetricData property for this object. This is a convenience method that creates an instance of theEntityMetricDatum.Builderavoiding the need to create one manually viaEntityMetricDatum.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentityMetricData(List<EntityMetricDatum>).- Parameters:
entityMetricData- a consumer that will call methods onEntityMetricDatum.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
strictEntityValidation
Sets the value of the StrictEntityValidation property for this object.- Parameters:
strictEntityValidation- The new value for the StrictEntityValidation property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutMetricDataRequest.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
PutMetricDataRequest.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.
-