Interface Action.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Action.Builder,,Action> SdkBuilder<Action.Builder,,Action> SdkPojo
- Enclosing class:
Action
@Mutable
@NotThreadSafe
public static interface Action.Builder
extends SdkPojo, CopyableBuilder<Action.Builder,Action>
-
Method Summary
Modifier and TypeMethodDescriptioncrossRegionCopy(Collection<CrossRegionCopyAction> crossRegionCopy) The rule for copying shared snapshots across Regions.crossRegionCopy(Consumer<CrossRegionCopyAction.Builder>... crossRegionCopy) The rule for copying shared snapshots across Regions.crossRegionCopy(CrossRegionCopyAction... crossRegionCopy) The rule for copying shared snapshots across Regions.A descriptive name for the action.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, sdkFieldNameToField, sdkFields
-
Method Details
-
name
A descriptive name for the action.
- Parameters:
name- A descriptive name for the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crossRegionCopy
The rule for copying shared snapshots across Regions.
- Parameters:
crossRegionCopy- The rule for copying shared snapshots across Regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crossRegionCopy
The rule for copying shared snapshots across Regions.
- Parameters:
crossRegionCopy- The rule for copying shared snapshots across Regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crossRegionCopy
The rule for copying shared snapshots across Regions.
This is a convenience method that creates an instance of theCrossRegionCopyAction.Builderavoiding the need to create one manually viaCrossRegionCopyAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocrossRegionCopy(List<CrossRegionCopyAction>).- Parameters:
crossRegionCopy- a consumer that will call methods onCrossRegionCopyAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-