Interface OperationUnion.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OperationUnion.Builder,,OperationUnion> SdkBuilder<OperationUnion.Builder,,OperationUnion> SdkPojo
- Enclosing class:
OperationUnion
-
Method Summary
Modifier and TypeMethodDescriptiondefault OperationUnion.Builderdelete(Consumer<DeleteOperation.Builder> delete) A delete operation to remove a construct from the mapping.delete(DeleteOperation delete) A delete operation to remove a construct from the mapping.default OperationUnion.Buildermerge(Consumer<MergeOperation.Builder> merge) A merge operation to combine constructs from different segments.merge(MergeOperation merge) A merge operation to combine constructs from different segments.default OperationUnion.Buildersplit(Consumer<SplitOperation.Builder> split) A split operation to divide a construct into multiple constructs with specified CIDR blocks.split(SplitOperation split) A split operation to divide a construct into multiple constructs with specified CIDR blocks.default OperationUnion.Builderupdate(Consumer<UpdateOperation.Builder> update) An update operation to modify construct properties.update(UpdateOperation update) An update operation to modify construct properties.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
-
merge
A merge operation to combine constructs from different segments.
- Parameters:
merge- A merge operation to combine constructs from different segments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
merge
A merge operation to combine constructs from different segments.
This is a convenience method that creates an instance of theMergeOperation.Builderavoiding the need to create one manually viaMergeOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomerge(MergeOperation).- Parameters:
merge- a consumer that will call methods onMergeOperation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
split
A split operation to divide a construct into multiple constructs with specified CIDR blocks.
- Parameters:
split- A split operation to divide a construct into multiple constructs with specified CIDR blocks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
split
A split operation to divide a construct into multiple constructs with specified CIDR blocks.
This is a convenience method that creates an instance of theSplitOperation.Builderavoiding the need to create one manually viaSplitOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosplit(SplitOperation).- Parameters:
split- a consumer that will call methods onSplitOperation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
delete
A delete operation to remove a construct from the mapping.
- Parameters:
delete- A delete operation to remove a construct from the mapping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delete
A delete operation to remove a construct from the mapping.
This is a convenience method that creates an instance of theDeleteOperation.Builderavoiding the need to create one manually viaDeleteOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todelete(DeleteOperation).- Parameters:
delete- a consumer that will call methods onDeleteOperation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
update
An update operation to modify construct properties.
- Parameters:
update- An update operation to modify construct properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
update
An update operation to modify construct properties.
This is a convenience method that creates an instance of theUpdateOperation.Builderavoiding the need to create one manually viaUpdateOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toupdate(UpdateOperation).- Parameters:
update- a consumer that will call methods onUpdateOperation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-