Interface MetricSpecification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MetricSpecification.Builder,,MetricSpecification> SdkBuilder<MetricSpecification.Builder,,MetricSpecification> SdkPojo
- Enclosing class:
MetricSpecification
public static interface MetricSpecification.Builder
extends SdkPojo, CopyableBuilder<MetricSpecification.Builder,MetricSpecification>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MetricSpecification.Buildercustomized(Consumer<CustomizedMetricSpecification.Builder> customized) Information about a customized metric.customized(CustomizedMetricSpecification customized) Information about a customized metric.default MetricSpecification.Builderpredefined(Consumer<PredefinedMetricSpecification.Builder> predefined) Information about a predefined metric.predefined(PredefinedMetricSpecification predefined) Information about a predefined metric.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, sdkFields
-
Method Details
-
predefined
Information about a predefined metric.
- Parameters:
predefined- Information about a predefined metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predefined
default MetricSpecification.Builder predefined(Consumer<PredefinedMetricSpecification.Builder> predefined) Information about a predefined metric.
This is a convenience method that creates an instance of thePredefinedMetricSpecification.Builderavoiding the need to create one manually viaPredefinedMetricSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topredefined(PredefinedMetricSpecification).- Parameters:
predefined- a consumer that will call methods onPredefinedMetricSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customized
Information about a customized metric.
- Parameters:
customized- Information about a customized metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customized
default MetricSpecification.Builder customized(Consumer<CustomizedMetricSpecification.Builder> customized) Information about a customized metric.
This is a convenience method that creates an instance of theCustomizedMetricSpecification.Builderavoiding the need to create one manually viaCustomizedMetricSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomized(CustomizedMetricSpecification).- Parameters:
customized- a consumer that will call methods onCustomizedMetricSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-