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
Modifier and TypeMethodDescriptiondefault GrpcGatewayRouteMatch.Builder
hostname
(Consumer<GatewayRouteHostnameMatch.Builder> hostname) The gateway route host name to be matched on.hostname
(GatewayRouteHostnameMatch hostname) The gateway route host name to be matched on.metadata
(Collection<GrpcGatewayRouteMetadata> metadata) The gateway route metadata to be matched on.metadata
(Consumer<GrpcGatewayRouteMetadata.Builder>... metadata) The gateway route metadata to be matched on.metadata
(GrpcGatewayRouteMetadata... metadata) The gateway route metadata to be matched on.The gateway route port to be matched on.serviceName
(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 Details
-
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.Builder
avoiding the need to create one manually viaGatewayRouteHostnameMatch.builder()
.When the
Consumer
completes,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:
-
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
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
The gateway route metadata to be matched on.
This is a convenience method that creates an instance of theGrpcGatewayRouteMetadata.Builder
avoiding the need to create one manually viaGrpcGatewayRouteMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometadata(List<GrpcGatewayRouteMetadata>)
.- 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:
-
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
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.
-