Interface StatelessCustomActionDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StatelessCustomActionDefinition.Builder,
,StatelessCustomActionDefinition> SdkBuilder<StatelessCustomActionDefinition.Builder,
,StatelessCustomActionDefinition> SdkPojo
- Enclosing class:
StatelessCustomActionDefinition
public static interface StatelessCustomActionDefinition.Builder
extends SdkPojo, CopyableBuilder<StatelessCustomActionDefinition.Builder,StatelessCustomActionDefinition>
-
Method Summary
Modifier and TypeMethodDescriptionpublishMetricAction
(Consumer<StatelessCustomPublishMetricAction.Builder> publishMetricAction) Information about metrics to publish to CloudWatch.publishMetricAction
(StatelessCustomPublishMetricAction publishMetricAction) Information about metrics to publish to CloudWatch.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, sdkFields
-
Method Details
-
publishMetricAction
StatelessCustomActionDefinition.Builder publishMetricAction(StatelessCustomPublishMetricAction publishMetricAction) Information about metrics to publish to CloudWatch.
- Parameters:
publishMetricAction
- Information about metrics to publish to CloudWatch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publishMetricAction
default StatelessCustomActionDefinition.Builder publishMetricAction(Consumer<StatelessCustomPublishMetricAction.Builder> publishMetricAction) Information about metrics to publish to CloudWatch.
This is a convenience method that creates an instance of theStatelessCustomPublishMetricAction.Builder
avoiding the need to create one manually viaStatelessCustomPublishMetricAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topublishMetricAction(StatelessCustomPublishMetricAction)
.- Parameters:
publishMetricAction
- a consumer that will call methods onStatelessCustomPublishMetricAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-