Interface Action.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Action.Builder,
,Action> SdkBuilder<Action.Builder,
,Action> SdkPojo
- Enclosing class:
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
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
-
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.Builder
avoiding the need to create one manually viaCrossRegionCopyAction.builder()
.When the
Consumer
completes,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:
-