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 Details

    • 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:
    • 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

      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:
    • 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

      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.