Interface StartNetworkMigrationMappingUpdateSegment.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<StartNetworkMigrationMappingUpdateSegment.Builder,,StartNetworkMigrationMappingUpdateSegment> SdkBuilder<StartNetworkMigrationMappingUpdateSegment.Builder,,StartNetworkMigrationMappingUpdateSegment> SdkPojo
- Enclosing class:
StartNetworkMigrationMappingUpdateSegment
@Mutable
@NotThreadSafe
public static interface StartNetworkMigrationMappingUpdateSegment.Builder
extends SdkPojo, CopyableBuilder<StartNetworkMigrationMappingUpdateSegment.Builder,StartNetworkMigrationMappingUpdateSegment>
-
Method Summary
Modifier and TypeMethodDescriptionoperation(Consumer<SegmentOperation.Builder> operation) The operation to perform on the segment.operation(SegmentOperation operation) The operation to perform on the segment.The updated scope tags for the segment.The ID of the segment to update.segmentLogicalID(String segmentLogicalID) An identifier that you choose for a segment created by this request.targetAccount(String targetAccount) The updated target AWS account for the segment.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
-
segmentID
The ID of the segment to update.
- Parameters:
segmentID- The ID of the segment to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentLogicalID
An identifier that you choose for a segment created by this request. You can use it in other constructs in the same request to refer to the new segment.
- Parameters:
segmentLogicalID- An identifier that you choose for a segment created by this request. You can use it in other constructs in the same request to refer to the new segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
The operation to perform on the segment.
- Parameters:
operation- The operation to perform on the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
default StartNetworkMigrationMappingUpdateSegment.Builder operation(Consumer<SegmentOperation.Builder> operation) The operation to perform on the segment.
This is a convenience method that creates an instance of theSegmentOperation.Builderavoiding the need to create one manually viaSegmentOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooperation(SegmentOperation).- Parameters:
operation- a consumer that will call methods onSegmentOperation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetAccount
The updated target AWS account for the segment.
- Parameters:
targetAccount- The updated target AWS account for the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopeTags
The updated scope tags for the segment.
- Parameters:
scopeTags- The updated scope tags for the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-