Interface GrpcGatewayRouteMatch.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<GrpcGatewayRouteMatch.Builder,,- GrpcGatewayRouteMatch> - SdkBuilder<GrpcGatewayRouteMatch.Builder,,- GrpcGatewayRouteMatch> - SdkPojo
- Enclosing class:
- GrpcGatewayRouteMatch
@Mutable
@NotThreadSafe
public static interface GrpcGatewayRouteMatch.Builder
extends SdkPojo, CopyableBuilder<GrpcGatewayRouteMatch.Builder,GrpcGatewayRouteMatch> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault GrpcGatewayRouteMatch.Builderhostname(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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
hostnameThe 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.
 
- 
hostnamedefault 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 on- GatewayRouteHostnameMatch.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
metadataThe 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.
 
- 
metadataThe 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.
 
- 
metadataThe 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 tometadata(List<GrpcGatewayRouteMetadata>).- Parameters:
- metadata- a consumer that will call methods on- GrpcGatewayRouteMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
portThe 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.
 
- 
serviceNameThe 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.
 
 
-