Interface GrpcGatewayRouteMatch.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GrpcGatewayRouteMatch.Builder,GrpcGatewayRouteMatch>,SdkBuilder<GrpcGatewayRouteMatch.Builder,GrpcGatewayRouteMatch>,SdkPojo
- Enclosing class:
- GrpcGatewayRouteMatch
public static interface GrpcGatewayRouteMatch.Builder extends SdkPojo, CopyableBuilder<GrpcGatewayRouteMatch.Builder,GrpcGatewayRouteMatch>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GrpcGatewayRouteMatch.Builderhostname(Consumer<GatewayRouteHostnameMatch.Builder> hostname)The gateway route host name to be matched on.GrpcGatewayRouteMatch.Builderhostname(GatewayRouteHostnameMatch hostname)The gateway route host name to be matched on.GrpcGatewayRouteMatch.Buildermetadata(Collection<GrpcGatewayRouteMetadata> metadata)The gateway route metadata to be matched on.GrpcGatewayRouteMatch.Buildermetadata(Consumer<GrpcGatewayRouteMetadata.Builder>... metadata)The gateway route metadata to be matched on.GrpcGatewayRouteMatch.Buildermetadata(GrpcGatewayRouteMetadata... metadata)The gateway route metadata to be matched on.GrpcGatewayRouteMatch.Builderport(Integer port)The gateway route port to be matched on.GrpcGatewayRouteMatch.BuilderserviceName(String serviceName)The fully qualified domain name for the service to match from the request.-
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
GrpcGatewayRouteMatch.Builder hostname(GatewayRouteHostnameMatch hostname)
The gateway route host name to be matched on.
- Parameters:
hostname- The gateway route host name to be matched on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostname
default GrpcGatewayRouteMatch.Builder hostname(Consumer<GatewayRouteHostnameMatch.Builder> hostname)
The gateway route host name to be matched on.
This is a convenience method that creates an instance of theGatewayRouteHostnameMatch.Builderavoiding the need to create one manually viaGatewayRouteHostnameMatch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohostname(GatewayRouteHostnameMatch).- Parameters:
hostname- a consumer that will call methods onGatewayRouteHostnameMatch.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
hostname(GatewayRouteHostnameMatch)
-
metadata
GrpcGatewayRouteMatch.Builder metadata(Collection<GrpcGatewayRouteMetadata> metadata)
The gateway route metadata to be matched on.
- Parameters:
metadata- The gateway route metadata to be matched on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
GrpcGatewayRouteMatch.Builder metadata(GrpcGatewayRouteMetadata... metadata)
The gateway route metadata to be matched on.
- Parameters:
metadata- The gateway route metadata to be matched on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
GrpcGatewayRouteMatch.Builder metadata(Consumer<GrpcGatewayRouteMetadata.Builder>... metadata)
The gateway route metadata to be matched on.
This is a convenience method that creates an instance of theGrpcGatewayRouteMetadata.Builderavoiding the need to create one manually viaGrpcGatewayRouteMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#metadata(List.) - Parameters:
metadata- a consumer that will call methods onGrpcGatewayRouteMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#metadata(java.util.Collection)
-
port
GrpcGatewayRouteMatch.Builder port(Integer port)
The gateway route port to be matched on.
- Parameters:
port- The gateway route port to be matched on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceName
GrpcGatewayRouteMatch.Builder serviceName(String serviceName)
The fully qualified domain name for the service to match from the request.
- Parameters:
serviceName- The fully qualified domain name for the service to match from the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-