Interface EntityMetricData.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EntityMetricData.Builder,,EntityMetricData> SdkBuilder<EntityMetricData.Builder,,EntityMetricData> SdkPojo
- Enclosing class:
EntityMetricData
@Mutable
@NotThreadSafe
public static interface EntityMetricData.Builder
extends SdkPojo, CopyableBuilder<EntityMetricData.Builder,EntityMetricData>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EntityMetricData.Builderentity(Consumer<Entity.Builder> entity) The entity associated with the metrics.The entity associated with the metrics.metricData(Collection<MetricDatum> metricData) The metric data.metricData(Consumer<MetricDatum.Builder>... metricData) The metric data.metricData(MetricDatum... metricData) The metric data.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
The entity associated with the metrics.
- Parameters:
entity- The entity associated with the metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entity
The entity associated with the metrics.
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
The metric data.
- Parameters:
metricData- The metric data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricData
The metric data.
- Parameters:
metricData- The metric data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricData
The metric data.
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:
-