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.Builderhostname(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
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
-
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:
-