Interface Attachment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Attachment.Builder,
,Attachment> SdkBuilder<Attachment.Builder,
,Attachment> SdkPojo
- Enclosing class:
Attachment
-
Method Summary
Modifier and TypeMethodDescriptionattachmentId
(String attachmentId) The ID of the attachment.attachmentPolicyRuleNumber
(Integer attachmentPolicyRuleNumber) The policy rule number associated with the attachment.attachmentType
(String attachmentType) The type of attachment.attachmentType
(AttachmentType attachmentType) The type of attachment.coreNetworkArn
(String coreNetworkArn) The ARN of a core network.coreNetworkId
(String coreNetworkId) The ID of a core network.The timestamp when the attachment was created.edgeLocation
(String edgeLocation) The Region where the edge is located.ownerAccountId
(String ownerAccountId) The ID of the attachment account owner.default Attachment.Builder
proposedSegmentChange
(Consumer<ProposedSegmentChange.Builder> proposedSegmentChange) The attachment to move from one segment to another.proposedSegmentChange
(ProposedSegmentChange proposedSegmentChange) The attachment to move from one segment to another.resourceArn
(String resourceArn) The attachment resource ARN.segmentName
(String segmentName) The name of the segment attachment.The state of the attachment.state
(AttachmentState state) The state of the attachment.tags
(Collection<Tag> tags) The tags associated with the attachment.tags
(Consumer<Tag.Builder>... tags) The tags associated with the attachment.The tags associated with the attachment.The timestamp when the attachment was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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
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
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
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
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
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
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
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 theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 theProposedSegmentChange.Builder
avoiding the need to create one manually viaProposedSegmentChange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproposedSegmentChange(ProposedSegmentChange)
.- Parameters:
proposedSegmentChange
- a consumer that will call methods onProposedSegmentChange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.
-