Interface GrpcGatewayRouteRewrite.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GrpcGatewayRouteRewrite.Builder,GrpcGatewayRouteRewrite>,SdkBuilder<GrpcGatewayRouteRewrite.Builder,GrpcGatewayRouteRewrite>,SdkPojo
- Enclosing class:
- GrpcGatewayRouteRewrite
public static interface GrpcGatewayRouteRewrite.Builder extends SdkPojo, CopyableBuilder<GrpcGatewayRouteRewrite.Builder,GrpcGatewayRouteRewrite>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GrpcGatewayRouteRewrite.Builderhostname(Consumer<GatewayRouteHostnameRewrite.Builder> hostname)The host name of the gateway route to rewrite.GrpcGatewayRouteRewrite.Builderhostname(GatewayRouteHostnameRewrite hostname)The host name of the gateway route to rewrite.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
hostname
GrpcGatewayRouteRewrite.Builder hostname(GatewayRouteHostnameRewrite hostname)
The host name of the gateway route to rewrite.
- Parameters:
hostname- The host name of the gateway route to rewrite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostname
default GrpcGatewayRouteRewrite.Builder hostname(Consumer<GatewayRouteHostnameRewrite.Builder> hostname)
The host name of the gateway route to rewrite.
This is a convenience method that creates an instance of theGatewayRouteHostnameRewrite.Builderavoiding the need to create one manually viaGatewayRouteHostnameRewrite.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohostname(GatewayRouteHostnameRewrite).- Parameters:
hostname- a consumer that will call methods onGatewayRouteHostnameRewrite.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
hostname(GatewayRouteHostnameRewrite)
-
-