Interface MutationActionSetStateParameter.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MutationActionSetStateParameter.Builder,
,MutationActionSetStateParameter> SdkBuilder<MutationActionSetStateParameter.Builder,
,MutationActionSetStateParameter> SdkPojo
- Enclosing class:
MutationActionSetStateParameter
@Mutable
@NotThreadSafe
public static interface MutationActionSetStateParameter.Builder
extends SdkPojo, CopyableBuilder<MutationActionSetStateParameter.Builder,MutationActionSetStateParameter>
-
Method Summary
Modifier and TypeMethodDescriptioncomponentName
(String componentName) The name of the component that is being modified.The name of the component property to apply the state configuration to.The state configuration to assign to the property.set
(ComponentProperty set) The state configuration to assign to the property.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
-
componentName
The name of the component that is being modified.
- Parameters:
componentName
- The name of the component that is being modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
property
The name of the component property to apply the state configuration to.
- Parameters:
property
- The name of the component property to apply the state configuration to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
set
The state configuration to assign to the property.
- Parameters:
set
- The state configuration to assign to the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
set
The state configuration to assign to the property.
This is a convenience method that creates an instance of theComponentProperty.Builder
avoiding the need to create one manually viaComponentProperty.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toset(ComponentProperty)
.- Parameters:
set
- a consumer that will call methods onComponentProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-