Interface DirectConnectGatewayAttachment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DirectConnectGatewayAttachment.Builder,DirectConnectGatewayAttachment>,SdkBuilder<DirectConnectGatewayAttachment.Builder,DirectConnectGatewayAttachment>,SdkPojo
- Enclosing class:
- DirectConnectGatewayAttachment
public static interface DirectConnectGatewayAttachment.Builder extends SdkPojo, CopyableBuilder<DirectConnectGatewayAttachment.Builder,DirectConnectGatewayAttachment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DirectConnectGatewayAttachment.BuilderattachmentState(String attachmentState)The state of the attachment.DirectConnectGatewayAttachment.BuilderattachmentState(DirectConnectGatewayAttachmentState attachmentState)The state of the attachment.DirectConnectGatewayAttachment.BuilderattachmentType(String attachmentType)The type of attachment.DirectConnectGatewayAttachment.BuilderattachmentType(DirectConnectGatewayAttachmentType attachmentType)The type of attachment.DirectConnectGatewayAttachment.BuilderdirectConnectGatewayId(String directConnectGatewayId)The ID of the Direct Connect gateway.DirectConnectGatewayAttachment.BuilderstateChangeError(String stateChangeError)The error message if the state of an object failed to advance.DirectConnectGatewayAttachment.BuildervirtualInterfaceId(String virtualInterfaceId)The ID of the virtual interface.DirectConnectGatewayAttachment.BuildervirtualInterfaceOwnerAccount(String virtualInterfaceOwnerAccount)The ID of the Amazon Web Services account that owns the virtual interface.DirectConnectGatewayAttachment.BuildervirtualInterfaceRegion(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 Detail
-
directConnectGatewayId
DirectConnectGatewayAttachment.Builder directConnectGatewayId(String 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
DirectConnectGatewayAttachment.Builder virtualInterfaceId(String 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
DirectConnectGatewayAttachment.Builder virtualInterfaceRegion(String 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
DirectConnectGatewayAttachment.Builder attachmentState(String 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:
DirectConnectGatewayAttachmentState,DirectConnectGatewayAttachmentState
-
-
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:
DirectConnectGatewayAttachmentState,DirectConnectGatewayAttachmentState
-
-
attachmentType
DirectConnectGatewayAttachment.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:
DirectConnectGatewayAttachmentType,DirectConnectGatewayAttachmentType
-
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:
DirectConnectGatewayAttachmentType,DirectConnectGatewayAttachmentType
-
stateChangeError
DirectConnectGatewayAttachment.Builder stateChangeError(String 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.
-
-