Interface StateTemplateAssociation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StateTemplateAssociation.Builder,
,StateTemplateAssociation> SdkBuilder<StateTemplateAssociation.Builder,
,StateTemplateAssociation> SdkPojo
- Enclosing class:
StateTemplateAssociation
@Mutable
@NotThreadSafe
public static interface StateTemplateAssociation.Builder
extends SdkPojo, CopyableBuilder<StateTemplateAssociation.Builder,StateTemplateAssociation>
-
Method Summary
Modifier and TypeMethodDescriptionidentifier
(String identifier) The unique ID of the state template.default StateTemplateAssociation.Builder
stateTemplateUpdateStrategy
(Consumer<StateTemplateUpdateStrategy.Builder> stateTemplateUpdateStrategy) Sets the value of the StateTemplateUpdateStrategy property for this object.stateTemplateUpdateStrategy
(StateTemplateUpdateStrategy stateTemplateUpdateStrategy) Sets the value of the StateTemplateUpdateStrategy property for this object.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 Details
-
identifier
The unique ID of the state template.
- Parameters:
identifier
- The unique ID of the state template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTemplateUpdateStrategy
StateTemplateAssociation.Builder stateTemplateUpdateStrategy(StateTemplateUpdateStrategy stateTemplateUpdateStrategy) Sets the value of the StateTemplateUpdateStrategy property for this object.- Parameters:
stateTemplateUpdateStrategy
- The new value for the StateTemplateUpdateStrategy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTemplateUpdateStrategy
default StateTemplateAssociation.Builder stateTemplateUpdateStrategy(Consumer<StateTemplateUpdateStrategy.Builder> stateTemplateUpdateStrategy) Sets the value of the StateTemplateUpdateStrategy property for this object. This is a convenience method that creates an instance of theStateTemplateUpdateStrategy.Builder
avoiding the need to create one manually viaStateTemplateUpdateStrategy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostateTemplateUpdateStrategy(StateTemplateUpdateStrategy)
.- Parameters:
stateTemplateUpdateStrategy
- a consumer that will call methods onStateTemplateUpdateStrategy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-