Interface DirectConnectGatewayAssociation.Builder

    • Method Detail

      • directConnectGatewayId

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

        DirectConnectGatewayAssociation.Builder directConnectGatewayOwnerAccount​(String directConnectGatewayOwnerAccount)

        The ID of the Amazon Web Services account that owns the associated gateway.

        Parameters:
        directConnectGatewayOwnerAccount - The ID of the Amazon Web Services account that owns the associated gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • associationState

        DirectConnectGatewayAssociation.Builder associationState​(String associationState)

        The state of the association. The following are the possible values:

        • associating: The initial state after calling CreateDirectConnectGatewayAssociation.

        • associated: The Direct Connect gateway and virtual private gateway or transit gateway are successfully associated and ready to pass traffic.

        • disassociating: The initial state after calling DeleteDirectConnectGatewayAssociation.

        • disassociated: The virtual private gateway or transit gateway is disassociated from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual private gateway or transit gateway is stopped.

        • updating: The CIDR blocks for the virtual private gateway or transit gateway are currently being updated. This could be new CIDR blocks added or current CIDR blocks removed.

        Parameters:
        associationState - The state of the association. The following are the possible values:

        • associating: The initial state after calling CreateDirectConnectGatewayAssociation.

        • associated: The Direct Connect gateway and virtual private gateway or transit gateway are successfully associated and ready to pass traffic.

        • disassociating: The initial state after calling DeleteDirectConnectGatewayAssociation.

        • disassociated: The virtual private gateway or transit gateway is disassociated from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual private gateway or transit gateway is stopped.

        • updating: The CIDR blocks for the virtual private gateway or transit gateway are currently being updated. This could be new CIDR blocks added or current CIDR blocks removed.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DirectConnectGatewayAssociationState, DirectConnectGatewayAssociationState
      • associationState

        DirectConnectGatewayAssociation.Builder associationState​(DirectConnectGatewayAssociationState associationState)

        The state of the association. The following are the possible values:

        • associating: The initial state after calling CreateDirectConnectGatewayAssociation.

        • associated: The Direct Connect gateway and virtual private gateway or transit gateway are successfully associated and ready to pass traffic.

        • disassociating: The initial state after calling DeleteDirectConnectGatewayAssociation.

        • disassociated: The virtual private gateway or transit gateway is disassociated from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual private gateway or transit gateway is stopped.

        • updating: The CIDR blocks for the virtual private gateway or transit gateway are currently being updated. This could be new CIDR blocks added or current CIDR blocks removed.

        Parameters:
        associationState - The state of the association. The following are the possible values:

        • associating: The initial state after calling CreateDirectConnectGatewayAssociation.

        • associated: The Direct Connect gateway and virtual private gateway or transit gateway are successfully associated and ready to pass traffic.

        • disassociating: The initial state after calling DeleteDirectConnectGatewayAssociation.

        • disassociated: The virtual private gateway or transit gateway is disassociated from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual private gateway or transit gateway is stopped.

        • updating: The CIDR blocks for the virtual private gateway or transit gateway are currently being updated. This could be new CIDR blocks added or current CIDR blocks removed.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DirectConnectGatewayAssociationState, DirectConnectGatewayAssociationState
      • stateChangeError

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

        DirectConnectGatewayAssociation.Builder associatedGateway​(AssociatedGateway associatedGateway)

        Information about the associated gateway.

        Parameters:
        associatedGateway - Information about the associated gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • associationId

        DirectConnectGatewayAssociation.Builder associationId​(String associationId)

        The ID of the Direct Connect gateway association.

        Parameters:
        associationId - The ID of the Direct Connect gateway association.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allowedPrefixesToDirectConnectGateway

        DirectConnectGatewayAssociation.Builder allowedPrefixesToDirectConnectGateway​(Collection<RouteFilterPrefix> allowedPrefixesToDirectConnectGateway)

        The Amazon VPC prefixes to advertise to the Direct Connect gateway.

        Parameters:
        allowedPrefixesToDirectConnectGateway - The Amazon VPC prefixes to advertise to the Direct Connect gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allowedPrefixesToDirectConnectGateway

        DirectConnectGatewayAssociation.Builder allowedPrefixesToDirectConnectGateway​(RouteFilterPrefix... allowedPrefixesToDirectConnectGateway)

        The Amazon VPC prefixes to advertise to the Direct Connect gateway.

        Parameters:
        allowedPrefixesToDirectConnectGateway - The Amazon VPC prefixes to advertise to the Direct Connect gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • virtualGatewayId

        DirectConnectGatewayAssociation.Builder virtualGatewayId​(String virtualGatewayId)

        The ID of the virtual private gateway. Applies only to private virtual interfaces.

        Parameters:
        virtualGatewayId - The ID of the virtual private gateway. Applies only to private virtual interfaces.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • virtualGatewayRegion

        DirectConnectGatewayAssociation.Builder virtualGatewayRegion​(String virtualGatewayRegion)

        The Amazon Web Services Region where the virtual private gateway is located.

        Parameters:
        virtualGatewayRegion - The Amazon Web Services Region where the virtual private gateway is located.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • virtualGatewayOwnerAccount

        DirectConnectGatewayAssociation.Builder virtualGatewayOwnerAccount​(String virtualGatewayOwnerAccount)

        The ID of the Amazon Web Services account that owns the virtual private gateway.

        Parameters:
        virtualGatewayOwnerAccount - The ID of the Amazon Web Services account that owns the virtual private gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.