Interface HttpGatewayRouteRewrite.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<HttpGatewayRouteRewrite.Builder,HttpGatewayRouteRewrite>,SdkBuilder<HttpGatewayRouteRewrite.Builder,HttpGatewayRouteRewrite>,SdkPojo
- Enclosing class:
- HttpGatewayRouteRewrite
public static interface HttpGatewayRouteRewrite.Builder extends SdkPojo, CopyableBuilder<HttpGatewayRouteRewrite.Builder,HttpGatewayRouteRewrite>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default HttpGatewayRouteRewrite.Builderhostname(Consumer<GatewayRouteHostnameRewrite.Builder> hostname)The host name to rewrite.HttpGatewayRouteRewrite.Builderhostname(GatewayRouteHostnameRewrite hostname)The host name to rewrite.default HttpGatewayRouteRewrite.Builderpath(Consumer<HttpGatewayRoutePathRewrite.Builder> path)The path to rewrite.HttpGatewayRouteRewrite.Builderpath(HttpGatewayRoutePathRewrite path)The path to rewrite.default HttpGatewayRouteRewrite.Builderprefix(Consumer<HttpGatewayRoutePrefixRewrite.Builder> prefix)The specified beginning characters to rewrite.HttpGatewayRouteRewrite.Builderprefix(HttpGatewayRoutePrefixRewrite prefix)The specified beginning characters 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
HttpGatewayRouteRewrite.Builder hostname(GatewayRouteHostnameRewrite hostname)
The host name to rewrite.
- Parameters:
hostname- The host name to rewrite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostname
default HttpGatewayRouteRewrite.Builder hostname(Consumer<GatewayRouteHostnameRewrite.Builder> hostname)
The host name 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)
-
path
HttpGatewayRouteRewrite.Builder path(HttpGatewayRoutePathRewrite path)
The path to rewrite.
- Parameters:
path- The path to rewrite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
default HttpGatewayRouteRewrite.Builder path(Consumer<HttpGatewayRoutePathRewrite.Builder> path)
The path to rewrite.
This is a convenience method that creates an instance of theHttpGatewayRoutePathRewrite.Builderavoiding the need to create one manually viaHttpGatewayRoutePathRewrite.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topath(HttpGatewayRoutePathRewrite).- Parameters:
path- a consumer that will call methods onHttpGatewayRoutePathRewrite.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
path(HttpGatewayRoutePathRewrite)
-
prefix
HttpGatewayRouteRewrite.Builder prefix(HttpGatewayRoutePrefixRewrite prefix)
The specified beginning characters to rewrite.
- Parameters:
prefix- The specified beginning characters to rewrite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefix
default HttpGatewayRouteRewrite.Builder prefix(Consumer<HttpGatewayRoutePrefixRewrite.Builder> prefix)
The specified beginning characters to rewrite.
This is a convenience method that creates an instance of theHttpGatewayRoutePrefixRewrite.Builderavoiding the need to create one manually viaHttpGatewayRoutePrefixRewrite.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprefix(HttpGatewayRoutePrefixRewrite).- Parameters:
prefix- a consumer that will call methods onHttpGatewayRoutePrefixRewrite.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
prefix(HttpGatewayRoutePrefixRewrite)
-
-