Interface Attachment.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Attachment.Builder,Attachment>, SdkBuilder<Attachment.Builder,Attachment>, SdkPojo
Enclosing class:
Attachment

public static interface Attachment.Builder extends SdkPojo, CopyableBuilder<Attachment.Builder,Attachment>
  • Method Details

    • coreNetworkId

      Attachment.Builder coreNetworkId(String coreNetworkId)

      The ID of a core network.

      Parameters:
      coreNetworkId - The ID of a core network.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • coreNetworkArn

      Attachment.Builder coreNetworkArn(String coreNetworkArn)

      The ARN of a core network.

      Parameters:
      coreNetworkArn - The ARN of a core network.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attachmentId

      Attachment.Builder attachmentId(String attachmentId)

      The ID of the attachment.

      Parameters:
      attachmentId - The ID of the attachment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ownerAccountId

      Attachment.Builder ownerAccountId(String ownerAccountId)

      The ID of the attachment account owner.

      Parameters:
      ownerAccountId - The ID of the attachment account owner.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attachmentType

      Attachment.Builder attachmentType(String attachmentType)

      The type of attachment.

      Parameters:
      attachmentType - The type of attachment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • attachmentType

      Attachment.Builder attachmentType(AttachmentType attachmentType)

      The type of attachment.

      Parameters:
      attachmentType - The type of attachment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      Attachment.Builder state(String state)

      The state of the attachment.

      Parameters:
      state - The state of the attachment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the attachment.

      Parameters:
      state - The state of the attachment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • edgeLocation

      Attachment.Builder edgeLocation(String edgeLocation)

      The Region where the edge is located.

      Parameters:
      edgeLocation - The Region where the edge is located.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceArn

      Attachment.Builder resourceArn(String resourceArn)

      The attachment resource ARN.

      Parameters:
      resourceArn - The attachment resource ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attachmentPolicyRuleNumber

      Attachment.Builder attachmentPolicyRuleNumber(Integer attachmentPolicyRuleNumber)

      The policy rule number associated with the attachment.

      Parameters:
      attachmentPolicyRuleNumber - The policy rule number associated with the attachment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • segmentName

      Attachment.Builder segmentName(String segmentName)

      The name of the segment attachment.

      Parameters:
      segmentName - The name of the segment attachment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags associated with the attachment.

      Parameters:
      tags - The tags associated with the attachment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Attachment.Builder tags(Tag... tags)

      The tags associated with the attachment.

      Parameters:
      tags - The tags associated with the attachment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags associated with the attachment.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

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

      Attachment.Builder proposedSegmentChange(ProposedSegmentChange proposedSegmentChange)

      The attachment to move from one segment to another.

      Parameters:
      proposedSegmentChange - The attachment to move from one segment to another.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • proposedSegmentChange

      default Attachment.Builder proposedSegmentChange(Consumer<ProposedSegmentChange.Builder> proposedSegmentChange)

      The attachment to move from one segment to another.

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

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

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

      Attachment.Builder createdAt(Instant createdAt)

      The timestamp when the attachment was created.

      Parameters:
      createdAt - The timestamp when the attachment was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      Attachment.Builder updatedAt(Instant updatedAt)

      The timestamp when the attachment was last updated.

      Parameters:
      updatedAt - The timestamp when the attachment was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.