Interface GrpcRouteMatch.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GrpcRouteMatch.Builder,GrpcRouteMatch>,SdkBuilder<GrpcRouteMatch.Builder,GrpcRouteMatch>,SdkPojo
- Enclosing class:
- GrpcRouteMatch
public static interface GrpcRouteMatch.Builder extends SdkPojo, CopyableBuilder<GrpcRouteMatch.Builder,GrpcRouteMatch>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GrpcRouteMatch.Buildermetadata(Collection<GrpcRouteMetadata> metadata)An object that represents the data to match from the request.GrpcRouteMatch.Buildermetadata(Consumer<GrpcRouteMetadata.Builder>... metadata)An object that represents the data to match from the request.GrpcRouteMatch.Buildermetadata(GrpcRouteMetadata... metadata)An object that represents the data to match from the request.GrpcRouteMatch.BuildermethodName(String methodName)The method name to match from the request.GrpcRouteMatch.Builderport(Integer port)The port number to match on.GrpcRouteMatch.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
-
metadata
GrpcRouteMatch.Builder metadata(Collection<GrpcRouteMetadata> metadata)
An object that represents the data to match from the request.
- Parameters:
metadata- An object that represents the data to match from the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
GrpcRouteMatch.Builder metadata(GrpcRouteMetadata... metadata)
An object that represents the data to match from the request.
- Parameters:
metadata- An object that represents the data to match from the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
GrpcRouteMatch.Builder metadata(Consumer<GrpcRouteMetadata.Builder>... metadata)
An object that represents the data to match from the request.
This is a convenience method that creates an instance of theGrpcRouteMetadata.Builderavoiding the need to create one manually viaGrpcRouteMetadata.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 onGrpcRouteMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#metadata(java.util.Collection)
-
methodName
GrpcRouteMatch.Builder methodName(String methodName)
The method name to match from the request. If you specify a name, you must also specify a
serviceName.- Parameters:
methodName- The method name to match from the request. If you specify a name, you must also specify aserviceName.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
GrpcRouteMatch.Builder port(Integer port)
The port number to match on.
- Parameters:
port- The port number to match on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceName
GrpcRouteMatch.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.
-
-