Interface Attachment.Builder

    • Method Detail

      • 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, AttachmentType
      • 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

        Attachment.Builder tags​(Collection<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

        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

        Attachment.Builder tags​(Consumer<Tag.Builder>... 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).

        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:
        #tags(java.util.Collection)
      • 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.
      • 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.