Interface DirectConnectGatewayAttachment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DirectConnectGatewayAttachment.Builder,
,DirectConnectGatewayAttachment> SdkBuilder<DirectConnectGatewayAttachment.Builder,
,DirectConnectGatewayAttachment> SdkPojo
- Enclosing class:
DirectConnectGatewayAttachment
-
Method Summary
Modifier and TypeMethodDescriptionattachmentState
(String attachmentState) The state of the attachment.attachmentState
(DirectConnectGatewayAttachmentState attachmentState) The state of the attachment.attachmentType
(String attachmentType) The type of attachment.attachmentType
(DirectConnectGatewayAttachmentType attachmentType) The type of attachment.directConnectGatewayId
(String directConnectGatewayId) The ID of the Direct Connect gateway.stateChangeError
(String stateChangeError) The error message if the state of an object failed to advance.virtualInterfaceId
(String virtualInterfaceId) The ID of the virtual interface.virtualInterfaceOwnerAccount
(String virtualInterfaceOwnerAccount) The ID of the Amazon Web Services account that owns the virtual interface.virtualInterfaceRegion
(String virtualInterfaceRegion) The Amazon Web Services Region where the virtual interface is located.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
-
directConnectGatewayId
The ID of the Direct Connect gateway.
- Parameters:
directConnectGatewayId
- The ID of the Direct Connect gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualInterfaceId
The ID of the virtual interface.
- Parameters:
virtualInterfaceId
- The ID of the virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualInterfaceRegion
The Amazon Web Services Region where the virtual interface is located.
- Parameters:
virtualInterfaceRegion
- The Amazon Web Services Region where the virtual interface is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualInterfaceOwnerAccount
DirectConnectGatewayAttachment.Builder virtualInterfaceOwnerAccount(String virtualInterfaceOwnerAccount) The ID of the Amazon Web Services account that owns the virtual interface.
- Parameters:
virtualInterfaceOwnerAccount
- The ID of the Amazon Web Services account that owns the virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentState
The state of the attachment. The following are the possible values:
-
attaching
: The initial state after a virtual interface is created using the Direct Connect gateway. -
attached
: The Direct Connect gateway and virtual interface are attached and ready to pass traffic. -
detaching
: The initial state after calling DeleteVirtualInterface. -
detached
: The virtual interface is detached from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual interface is stopped.
- Parameters:
attachmentState
- The state of the attachment. The following are the possible values:-
attaching
: The initial state after a virtual interface is created using the Direct Connect gateway. -
attached
: The Direct Connect gateway and virtual interface are attached and ready to pass traffic. -
detaching
: The initial state after calling DeleteVirtualInterface. -
detached
: The virtual interface is detached from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual interface is stopped.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
attachmentState
DirectConnectGatewayAttachment.Builder attachmentState(DirectConnectGatewayAttachmentState attachmentState) The state of the attachment. The following are the possible values:
-
attaching
: The initial state after a virtual interface is created using the Direct Connect gateway. -
attached
: The Direct Connect gateway and virtual interface are attached and ready to pass traffic. -
detaching
: The initial state after calling DeleteVirtualInterface. -
detached
: The virtual interface is detached from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual interface is stopped.
- Parameters:
attachmentState
- The state of the attachment. The following are the possible values:-
attaching
: The initial state after a virtual interface is created using the Direct Connect gateway. -
attached
: The Direct Connect gateway and virtual interface are attached and ready to pass traffic. -
detaching
: The initial state after calling DeleteVirtualInterface. -
detached
: The virtual interface is detached from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual interface is stopped.
-
- 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:
-
attachmentType
DirectConnectGatewayAttachment.Builder attachmentType(DirectConnectGatewayAttachmentType 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:
-
stateChangeError
The error message if the state of an object failed to advance.
- Parameters:
stateChangeError
- The error message if the state of an object failed to advance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-