Interface DirectConnectGatewayAttachment.Builder

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