Interface GatewayRoute.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GatewayRoute.Builder,,GatewayRoute> SdkBuilder<GatewayRoute.Builder,,GatewayRoute> SdkPojo
- Enclosing class:
GatewayRoute
@Mutable
@NotThreadSafe
public static interface GatewayRoute.Builder
extends SdkPojo, CopyableBuilder<GatewayRoute.Builder,GatewayRoute>
-
Method Summary
Modifier and TypeMethodDescriptiongatewayRouteArn(String gatewayRouteArn) The Amazon Resource Name (ARN) of the gateway route.default GatewayRoute.Builderresources(Consumer<GatewayRouteResources.Builder> resources) The service-specific infrastructure that the gateway manages for the route, keyed by gateway type.resources(GatewayRouteResources resources) The service-specific infrastructure that the gateway manages for the route, keyed by gateway type.serviceArn(String serviceArn) The Amazon Resource Name (ARN) of the service associated with the route.serviceContainerPortName(String serviceContainerPortName) The task definition container port name that the route targets on the service.serviceUrl(String serviceUrl) The URL for accessing the service, including thehttps://scheme.The status of the gateway route.status(GatewayRouteStatus status) The status of the gateway route.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
The URL for accessing the service, including the
https://scheme.- Parameters:
serviceUrl- The URL for accessing the service, including thehttps://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 theGatewayRouteResources.Builderavoiding the need to create one manually viaGatewayRouteResources.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresources(GatewayRouteResources).- Parameters:
resources- a consumer that will call methods onGatewayRouteResources.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-