Interface GatewayConnection.Builder

  • Method Details

    • gatewayArn

      GatewayConnection.Builder gatewayArn(String gatewayArn)

      The Amazon Resource Name (ARN) of the gateway.

      Parameters:
      gatewayArn - The Amazon Resource Name (ARN) of the gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gatewayRouteArn

      GatewayConnection.Builder gatewayRouteArn(String gatewayRouteArn)

      The Amazon Resource Name (ARN) of the gateway route for the connection.

      Parameters:
      gatewayRouteArn - The Amazon Resource Name (ARN) of the gateway route for the connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • portName

      GatewayConnection.Builder portName(String portName)

      The name of the service port that receives gateway-managed ingress traffic.

      Parameters:
      portName - The name of the service port that receives gateway-managed ingress traffic.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceUrl

      GatewayConnection.Builder serviceUrl(String serviceUrl)

      The URL that the gateway uses to route ingress traffic to the service.

      Parameters:
      serviceUrl - The URL that the gateway uses to route ingress traffic to the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accessType

      GatewayConnection.Builder accessType(String accessType)

      The access type of the gateway ingress path.

      Valid values:

      • PUBLIC - The ingress path is publicly accessible.

      • PRIVATE - The ingress path is only accessible privately.

      Parameters:
      accessType - The access type of the gateway ingress path.

      Valid values:

      • PUBLIC - The ingress path is publicly accessible.

      • PRIVATE - The ingress path is only accessible privately.

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

      GatewayConnection.Builder accessType(AccessType accessType)

      The access type of the gateway ingress path.

      Valid values:

      • PUBLIC - The ingress path is publicly accessible.

      • PRIVATE - The ingress path is only accessible privately.

      Parameters:
      accessType - The access type of the gateway ingress path.

      Valid values:

      • PUBLIC - The ingress path is publicly accessible.

      • PRIVATE - The ingress path is only accessible privately.

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

      The status of the gateway route for the connection.

      Parameters:
      status - The status of the gateway route for the connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the gateway route for the connection.

      Parameters:
      status - The status of the gateway route for the connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resources

      The gateway-managed infrastructure resources for the connection.

      Parameters:
      resources - The gateway-managed infrastructure resources for the connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      The gateway-managed infrastructure resources for the connection.

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

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

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