Interface NetworkMigrationCodeGenerationSegment.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkMigrationCodeGenerationSegment.Builder,,NetworkMigrationCodeGenerationSegment> SdkBuilder<NetworkMigrationCodeGenerationSegment.Builder,,NetworkMigrationCodeGenerationSegment> SdkPojo
- Enclosing class:
NetworkMigrationCodeGenerationSegment
-
Method Summary
Modifier and TypeMethodDescriptionA list of artifacts generated for this segment.artifacts(Consumer<NetworkMigrationCodeGenerationArtifact.Builder>... artifacts) A list of artifacts generated for this segment.artifacts(NetworkMigrationCodeGenerationArtifact... artifacts) A list of artifacts generated for this segment.The timestamp when the segment was created.The unique identifier of the code generation job.The logical identifier for the segment.mapperSegmentID(String mapperSegmentID) The ID of the mapper segment that this code generation segment was created from.networkMigrationDefinitionID(String networkMigrationDefinitionID) The unique identifier of the network migration definition.networkMigrationExecutionID(String networkMigrationExecutionID) The unique identifier of the network migration execution.The unique identifier of the segment.segmentType(String segmentType) The type of the segment.segmentType(NetworkMigrationCodeGenerationSegmentType segmentType) The type of 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
-
jobID
The unique identifier of the code generation job.
- Parameters:
jobID- The unique identifier of the code generation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkMigrationExecutionID
NetworkMigrationCodeGenerationSegment.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
NetworkMigrationCodeGenerationSegment.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.
- Parameters:
segmentType- The type of the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
segmentType
NetworkMigrationCodeGenerationSegment.Builder segmentType(NetworkMigrationCodeGenerationSegmentType segmentType) The type of the segment.
- Parameters:
segmentType- The type of the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logicalID
The logical identifier for the segment.
- Parameters:
logicalID- The logical identifier for the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mapperSegmentID
The ID of the mapper segment that this code generation segment was created from.
- Parameters:
mapperSegmentID- The ID of the mapper segment that this code generation segment was created from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifacts
NetworkMigrationCodeGenerationSegment.Builder artifacts(Collection<NetworkMigrationCodeGenerationArtifact> artifacts) A list of artifacts generated for this segment.
- Parameters:
artifacts- A list of artifacts generated for this segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifacts
NetworkMigrationCodeGenerationSegment.Builder artifacts(NetworkMigrationCodeGenerationArtifact... artifacts) A list of artifacts generated for this segment.
- Parameters:
artifacts- A list of artifacts generated for this segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifacts
NetworkMigrationCodeGenerationSegment.Builder artifacts(Consumer<NetworkMigrationCodeGenerationArtifact.Builder>... artifacts) A list of artifacts generated for this segment.
This is a convenience method that creates an instance of theNetworkMigrationCodeGenerationArtifact.Builderavoiding the need to create one manually viaNetworkMigrationCodeGenerationArtifact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toartifacts(List<NetworkMigrationCodeGenerationArtifact>).- Parameters:
artifacts- a consumer that will call methods onNetworkMigrationCodeGenerationArtifact.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.
-