Interface DirectConnectGatewayAssociation.Builder

  • Method Details

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

      default DirectConnectGatewayAssociation.Builder associatedGateway(Consumer<AssociatedGateway.Builder> associatedGateway)

      Information about the associated gateway.

      This is a convenience method that creates an instance of the AssociatedGateway.Builder avoiding the need to create one manually via AssociatedGateway.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to associatedGateway(AssociatedGateway).

      Parameters:
      associatedGateway - a consumer that will call methods on AssociatedGateway.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • allowedPrefixesToDirectConnectGateway

      DirectConnectGatewayAssociation.Builder allowedPrefixesToDirectConnectGateway(Consumer<RouteFilterPrefix.Builder>... allowedPrefixesToDirectConnectGateway)

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

      This is a convenience method that creates an instance of the RouteFilterPrefix.Builder avoiding the need to create one manually via RouteFilterPrefix.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to allowedPrefixesToDirectConnectGateway(List<RouteFilterPrefix>).

      Parameters:
      allowedPrefixesToDirectConnectGateway - a consumer that will call methods on RouteFilterPrefix.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • associatedCoreNetwork

      DirectConnectGatewayAssociation.Builder associatedCoreNetwork(AssociatedCoreNetwork associatedCoreNetwork)

      The ID of the Cloud WAN core network associated with the Direct Connect gateway attachment.

      Parameters:
      associatedCoreNetwork - The ID of the Cloud WAN core network associated with the Direct Connect gateway attachment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedCoreNetwork

      default DirectConnectGatewayAssociation.Builder associatedCoreNetwork(Consumer<AssociatedCoreNetwork.Builder> associatedCoreNetwork)

      The ID of the Cloud WAN core network associated with the Direct Connect gateway attachment.

      This is a convenience method that creates an instance of the AssociatedCoreNetwork.Builder avoiding the need to create one manually via AssociatedCoreNetwork.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to associatedCoreNetwork(AssociatedCoreNetwork).

      Parameters:
      associatedCoreNetwork - a consumer that will call methods on AssociatedCoreNetwork.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.