Interface Action.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Action.Builder,,Action> SdkBuilder<Action.Builder,,Action> SdkPojo
- Enclosing class:
Action
-
Method Summary
Modifier and TypeMethodDescriptiondefault Action.BuilderssmAutomation(Consumer<SsmAutomation.Builder> ssmAutomation) The Systems Manager automation document to start as the runbook at the beginning of the incident.ssmAutomation(SsmAutomation ssmAutomation) The Systems Manager automation document to start as the runbook at the beginning of the incident.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
-
ssmAutomation
The Systems Manager automation document to start as the runbook at the beginning of the incident.
- Parameters:
ssmAutomation- The Systems Manager automation document to start as the runbook at the beginning of the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ssmAutomation
The Systems Manager automation document to start as the runbook at the beginning of the incident.
This is a convenience method that creates an instance of theSsmAutomation.Builderavoiding the need to create one manually viaSsmAutomation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tossmAutomation(SsmAutomation).- Parameters:
ssmAutomation- a consumer that will call methods onSsmAutomation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-