Interface SseConnectTransitGatewayAttachment.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SseConnectTransitGatewayAttachment.Builder,,SseConnectTransitGatewayAttachment> SdkBuilder<SseConnectTransitGatewayAttachment.Builder,,SseConnectTransitGatewayAttachment> SdkPojo
- Enclosing class:
SseConnectTransitGatewayAttachment
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when the attachment was created.ownerAccountId(String ownerAccountId) The ID of the account that owns the attachment.sseConnectId(String sseConnectId) The ID of the SSE connect.sseConnectTransitGatewayAttachmentArn(String sseConnectTransitGatewayAttachmentArn) The ARN of the SSE connect transit gateway attachment.sseConnectTransitGatewayAttachmentId(String sseConnectTransitGatewayAttachmentId) The ID of the SSE connect transit gateway attachment.The state of the attachment.The state of the attachment.The reason for the current state of the attachment, if available.stateReason(SseConnectTransitGatewayAttachmentStateReason stateReason) The reason for the current state of the attachment, if available.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.transitGatewayArn(String transitGatewayArn) The ARN of the transit gateway.transitGatewayAttachmentId(String transitGatewayAttachmentId) The ID of the underlying transit gateway attachment.The timestamp when the attachment was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
sseConnectTransitGatewayAttachmentId
SseConnectTransitGatewayAttachment.Builder sseConnectTransitGatewayAttachmentId(String sseConnectTransitGatewayAttachmentId) The ID of the SSE connect transit gateway attachment.
- Parameters:
sseConnectTransitGatewayAttachmentId- The ID of the SSE connect transit gateway attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sseConnectTransitGatewayAttachmentArn
SseConnectTransitGatewayAttachment.Builder sseConnectTransitGatewayAttachmentArn(String sseConnectTransitGatewayAttachmentArn) The ARN of the SSE connect transit gateway attachment.
- Parameters:
sseConnectTransitGatewayAttachmentArn- The ARN of the SSE connect transit gateway attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sseConnectId
The ID of the SSE connect.
- Parameters:
sseConnectId- The ID of the SSE connect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerAccountId
The ID of the account that owns the attachment.
- Parameters:
ownerAccountId- The ID of the account that owns the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayArn
The ARN of the transit gateway.
- Parameters:
transitGatewayArn- The ARN of the transit gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayAttachmentId
SseConnectTransitGatewayAttachment.Builder transitGatewayAttachmentId(String transitGatewayAttachmentId) The ID of the underlying transit gateway attachment. Use this ID to accept or reject the attachment and to configure transit gateway route table association and propagation.
- Parameters:
transitGatewayAttachmentId- The ID of the underlying transit gateway attachment. Use this ID to accept or reject the attachment and to configure transit gateway route table association and propagation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the attachment. Valid values:
-
CREATING– The attachment is being created. -
PENDING_ATTACHMENT_ACCEPTANCE– The transit gateway owner must accept the attachment. -
AVAILABLE– The attachment is available for routing. -
UPDATING– An update is in progress. -
FAILED– The attachment couldn't be created or updated. -
REJECTED– The transit gateway owner rejected the attachment. -
DELETING– The attachment is being deleted. -
DELETED– The attachment was deleted.
- Parameters:
state- The state of the attachment. Valid values:-
CREATING– The attachment is being created. -
PENDING_ATTACHMENT_ACCEPTANCE– The transit gateway owner must accept the attachment. -
AVAILABLE– The attachment is available for routing. -
UPDATING– An update is in progress. -
FAILED– The attachment couldn't be created or updated. -
REJECTED– The transit gateway owner rejected the attachment. -
DELETING– The attachment is being deleted. -
DELETED– The attachment was deleted.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
state
The state of the attachment. Valid values:
-
CREATING– The attachment is being created. -
PENDING_ATTACHMENT_ACCEPTANCE– The transit gateway owner must accept the attachment. -
AVAILABLE– The attachment is available for routing. -
UPDATING– An update is in progress. -
FAILED– The attachment couldn't be created or updated. -
REJECTED– The transit gateway owner rejected the attachment. -
DELETING– The attachment is being deleted. -
DELETED– The attachment was deleted.
- Parameters:
state- The state of the attachment. Valid values:-
CREATING– The attachment is being created. -
PENDING_ATTACHMENT_ACCEPTANCE– The transit gateway owner must accept the attachment. -
AVAILABLE– The attachment is available for routing. -
UPDATING– An update is in progress. -
FAILED– The attachment couldn't be created or updated. -
REJECTED– The transit gateway owner rejected the attachment. -
DELETING– The attachment is being deleted. -
DELETED– The attachment was deleted.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
stateReason
SseConnectTransitGatewayAttachment.Builder stateReason(SseConnectTransitGatewayAttachmentStateReason stateReason) The reason for the current state of the attachment, if available.
- Parameters:
stateReason- The reason for the current state of the attachment, if available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateReason
default SseConnectTransitGatewayAttachment.Builder stateReason(Consumer<SseConnectTransitGatewayAttachmentStateReason.Builder> stateReason) The reason for the current state of the attachment, if available.
This is a convenience method that creates an instance of theSseConnectTransitGatewayAttachmentStateReason.Builderavoiding the need to create one manually viaSseConnectTransitGatewayAttachmentStateReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostateReason(SseConnectTransitGatewayAttachmentStateReason).- Parameters:
stateReason- a consumer that will call methods onSseConnectTransitGatewayAttachmentStateReason.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.
-
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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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:
-