Interface GatewayRoute.Builder

  • Method Details

    • gatewayRouteArn

      GatewayRoute.Builder gatewayRouteArn(String gatewayRouteArn)

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

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

      GatewayRoute.Builder serviceArn(String serviceArn)

      The Amazon Resource Name (ARN) of the service associated with the route.

      Parameters:
      serviceArn - The Amazon Resource Name (ARN) of the service associated with the route.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceContainerPortName

      GatewayRoute.Builder serviceContainerPortName(String serviceContainerPortName)

      The task definition container port name that the route targets on the service.

      Parameters:
      serviceContainerPortName - The task definition container port name that the route targets on the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      GatewayRoute.Builder status(String status)

      The status of the gateway route.

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

      The status of the gateway route.

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

      GatewayRoute.Builder serviceUrl(String serviceUrl)

      The URL for accessing the service, including the https:// scheme.

      Parameters:
      serviceUrl - The URL for accessing the service, including the https:// scheme.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      The service-specific infrastructure that the gateway manages for the route, keyed by gateway type.

      Parameters:
      resources - The service-specific infrastructure that the gateway manages for the route, keyed by gateway type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      The service-specific infrastructure that the gateway manages for the route, keyed by gateway type.

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

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

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