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
Modifier and TypeMethodDescriptiondefault GrpcGatewayRouteRewrite.Builder
hostname
(Consumer<GatewayRouteHostnameRewrite.Builder> hostname) The host name of the gateway route to rewrite.hostname
(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 Details
-
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.Builder
avoiding the need to create one manually viaGatewayRouteHostnameRewrite.builder()
.When the
Consumer
completes,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:
-