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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EntityMetricData.Builderentity(Consumer<Entity.Builder> entity)The entity associated with the metrics.EntityMetricData.Builderentity(Entity entity)The entity associated with the metrics.EntityMetricData.BuildermetricData(Collection<MetricDatum> metricData)The metric data.EntityMetricData.BuildermetricData(Consumer<MetricDatum.Builder>... metricData)The metric data.EntityMetricData.BuildermetricData(MetricDatum... metricData)The metric data.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
entity
EntityMetricData.Builder entity(Entity 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
default EntityMetricData.Builder entity(Consumer<Entity.Builder> 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:
entity(Entity)
-
metricData
EntityMetricData.Builder metricData(Collection<MetricDatum> 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
EntityMetricData.Builder metricData(MetricDatum... 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
EntityMetricData.Builder metricData(Consumer<MetricDatum.Builder>... 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 to#metricData(List.) - 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:
#metricData(java.util.Collection)
-
-