Interface EntityMetricDatum.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EntityMetricDatum.Builder,,EntityMetricDatum> SdkBuilder<EntityMetricDatum.Builder,,EntityMetricDatum> SdkPojo
- Enclosing class:
EntityMetricDatum
@Mutable
@NotThreadSafe
public static interface EntityMetricDatum.Builder
extends SdkPojo, CopyableBuilder<EntityMetricDatum.Builder,EntityMetricDatum>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EntityMetricDatum.Builderentity(Consumer<Entity.Builder> entity) Sets the value of the Entity property for this object.Sets the value of the Entity 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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
entity
Sets the value of the Entity property for this object.- Parameters:
entity- The new value for the Entity property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entity
Sets the value of the Entity property for this object. This is a convenience method that creates an instance of theEntity.Builderavoiding the need to create one manually viaEntity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentity(Entity).- Parameters:
entity- a consumer that will call methods onEntity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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:
-