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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Attachment.BuilderattachmentId(String attachmentId)The ID of the attachment.Attachment.BuilderattachmentPolicyRuleNumber(Integer attachmentPolicyRuleNumber)The policy rule number associated with the attachment.Attachment.BuilderattachmentType(String attachmentType)The type of attachment.Attachment.BuilderattachmentType(AttachmentType attachmentType)The type of attachment.Attachment.BuildercoreNetworkArn(String coreNetworkArn)The ARN of a core network.Attachment.BuildercoreNetworkId(String coreNetworkId)The ID of a core network.Attachment.BuildercreatedAt(Instant createdAt)The timestamp when the attachment was created.Attachment.BuilderedgeLocation(String edgeLocation)The Region where the edge is located.Attachment.BuilderownerAccountId(String ownerAccountId)The ID of the attachment account owner.default Attachment.BuilderproposedSegmentChange(Consumer<ProposedSegmentChange.Builder> proposedSegmentChange)The attachment to move from one segment to another.Attachment.BuilderproposedSegmentChange(ProposedSegmentChange proposedSegmentChange)The attachment to move from one segment to another.Attachment.BuilderresourceArn(String resourceArn)The attachment resource ARN.Attachment.BuildersegmentName(String segmentName)The name of the segment attachment.Attachment.Builderstate(String state)The state of the attachment.Attachment.Builderstate(AttachmentState state)The state of the attachment.Attachment.Buildertags(Collection<Tag> tags)The tags associated with the attachment.Attachment.Buildertags(Consumer<Tag.Builder>... tags)The tags associated with the attachment.Attachment.Buildertags(Tag... tags)The tags associated with the attachment.Attachment.BuilderupdatedAt(Instant updatedAt)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 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
-
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:
AttachmentType,AttachmentType
-
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:
AttachmentState,AttachmentState
-
state
Attachment.Builder state(AttachmentState 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:
AttachmentState,AttachmentState
-
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 theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#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.
-
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.Builderavoiding the need to create one manually viaProposedSegmentChange.builder().When the
Consumercompletes,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:
proposedSegmentChange(ProposedSegmentChange)
-
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.
-
-