Interface UpdateNetworkMigrationMapperSegmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateNetworkMigrationMapperSegmentResponse.Builder,,UpdateNetworkMigrationMapperSegmentResponse> MgnResponse.Builder,SdkBuilder<UpdateNetworkMigrationMapperSegmentResponse.Builder,,UpdateNetworkMigrationMapperSegmentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateNetworkMigrationMapperSegmentResponse
-
Method Summary
Modifier and TypeMethodDescriptionchecksum(Consumer<Checksum.Builder> checksum) The checksum of the segment data for integrity verification.The checksum of the segment data for integrity verification.The timestamp when the segment was created.description(String description) A description of the segment.The unique identifier of the job that created this segment.The logical identifier for the segment in the infrastructure code.The name of the segment.networkMigrationDefinitionID(String networkMigrationDefinitionID) The unique identifier of the network migration definition.networkMigrationExecutionID(String networkMigrationExecutionID) The unique identifier of the network migration execution.outputS3Configuration(Consumer<S3Configuration.Builder> outputS3Configuration) The S3 location where segment artifacts are stored.outputS3Configuration(S3Configuration outputS3Configuration) The S3 location where segment artifacts are stored.referencedSegments(String... referencedSegments) A list of other segments that this segment depends on or references.referencedSegments(Collection<String> referencedSegments) A list of other segments that this segment depends on or references.Scope tags for the segment.The unique identifier of the segment.segmentType(String segmentType) The type of the segment, such as VPC, subnet, or security group.segmentType(NetworkMigrationMapperSegmentType segmentType) The type of the segment, such as VPC, subnet, or security group.targetAccount(String targetAccount) The target AWS account where this segment will be deployed.The timestamp when the segment was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mgn.model.MgnResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
jobID
The unique identifier of the job that created this segment.
- Parameters:
jobID- The unique identifier of the job that created this segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkMigrationExecutionID
UpdateNetworkMigrationMapperSegmentResponse.Builder networkMigrationExecutionID(String networkMigrationExecutionID) The unique identifier of the network migration execution.
- Parameters:
networkMigrationExecutionID- The unique identifier of the network migration execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkMigrationDefinitionID
UpdateNetworkMigrationMapperSegmentResponse.Builder networkMigrationDefinitionID(String networkMigrationDefinitionID) The unique identifier of the network migration definition.
- Parameters:
networkMigrationDefinitionID- The unique identifier of the network migration definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentID
The unique identifier of the segment.
- Parameters:
segmentID- The unique identifier of the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentType
The type of the segment, such as VPC, subnet, or security group.
- Parameters:
segmentType- The type of the segment, such as VPC, subnet, or security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
segmentType
UpdateNetworkMigrationMapperSegmentResponse.Builder segmentType(NetworkMigrationMapperSegmentType segmentType) The type of the segment, such as VPC, subnet, or security group.
- Parameters:
segmentType- The type of the segment, such as VPC, subnet, or security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the segment.
- Parameters:
name- The name of the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the segment.
- Parameters:
description- A description of the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logicalID
The logical identifier for the segment in the infrastructure code.
- Parameters:
logicalID- The logical identifier for the segment in the infrastructure code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksum
The checksum of the segment data for integrity verification.
- Parameters:
checksum- The checksum of the segment data for integrity verification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksum
default UpdateNetworkMigrationMapperSegmentResponse.Builder checksum(Consumer<Checksum.Builder> checksum) The checksum of the segment data for integrity verification.
This is a convenience method that creates an instance of theChecksum.Builderavoiding the need to create one manually viaChecksum.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochecksum(Checksum).- Parameters:
checksum- a consumer that will call methods onChecksum.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputS3Configuration
UpdateNetworkMigrationMapperSegmentResponse.Builder outputS3Configuration(S3Configuration outputS3Configuration) The S3 location where segment artifacts are stored.
- Parameters:
outputS3Configuration- The S3 location where segment artifacts are stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputS3Configuration
default UpdateNetworkMigrationMapperSegmentResponse.Builder outputS3Configuration(Consumer<S3Configuration.Builder> outputS3Configuration) The S3 location where segment artifacts are stored.
This is a convenience method that creates an instance of theS3Configuration.Builderavoiding the need to create one manually viaS3Configuration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputS3Configuration(S3Configuration).- Parameters:
outputS3Configuration- a consumer that will call methods onS3Configuration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the segment was created.
- Parameters:
createdAt- The timestamp when the segment was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the segment was last updated.
- Parameters:
updatedAt- The timestamp when the segment was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopeTags
Scope tags for the segment.
- Parameters:
scopeTags- Scope tags for the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetAccount
The target AWS account where this segment will be deployed.
- Parameters:
targetAccount- The target AWS account where this segment will be deployed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referencedSegments
UpdateNetworkMigrationMapperSegmentResponse.Builder referencedSegments(Collection<String> referencedSegments) A list of other segments that this segment depends on or references.
- Parameters:
referencedSegments- A list of other segments that this segment depends on or references.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referencedSegments
UpdateNetworkMigrationMapperSegmentResponse.Builder referencedSegments(String... referencedSegments) A list of other segments that this segment depends on or references.
- Parameters:
referencedSegments- A list of other segments that this segment depends on or references.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-