Interface NetworkMigrationMapperSegment.Builder

  • 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

      NetworkMigrationMapperSegment.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

      NetworkMigrationMapperSegment.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

      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

      The checksum of the segment data for integrity verification.

      This is a convenience method that creates an instance of the Checksum.Builder avoiding the need to create one manually via Checksum.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to checksum(Checksum).

      Parameters:
      checksum - a consumer that will call methods on Checksum.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • outputS3Configuration

      NetworkMigrationMapperSegment.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 NetworkMigrationMapperSegment.Builder outputS3Configuration(Consumer<S3Configuration.Builder> outputS3Configuration)

      The S3 location where segment artifacts are stored.

      This is a convenience method that creates an instance of the S3Configuration.Builder avoiding the need to create one manually via S3Configuration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to outputS3Configuration(S3Configuration).

      Parameters:
      outputS3Configuration - a consumer that will call methods on S3Configuration.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

      NetworkMigrationMapperSegment.Builder targetAccount(String 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

      NetworkMigrationMapperSegment.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

      NetworkMigrationMapperSegment.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.