Interface GrpcRouteMetadata.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GrpcRouteMetadata.Builder,GrpcRouteMetadata>,SdkBuilder<GrpcRouteMetadata.Builder,GrpcRouteMetadata>,SdkPojo
- Enclosing class:
- GrpcRouteMetadata
public static interface GrpcRouteMetadata.Builder extends SdkPojo, CopyableBuilder<GrpcRouteMetadata.Builder,GrpcRouteMetadata>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GrpcRouteMetadata.Builderinvert(Boolean invert)SpecifyTrueto match anything except the match criteria.default GrpcRouteMetadata.Buildermatch(Consumer<GrpcRouteMetadataMatchMethod.Builder> match)An object that represents the data to match from the request.GrpcRouteMetadata.Buildermatch(GrpcRouteMetadataMatchMethod match)An object that represents the data to match from the request.GrpcRouteMetadata.Buildername(String name)The name of the route.-
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
-
invert
GrpcRouteMetadata.Builder invert(Boolean invert)
Specify
Trueto match anything except the match criteria. The default value isFalse.- Parameters:
invert- SpecifyTrueto match anything except the match criteria. The default value isFalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
match
GrpcRouteMetadata.Builder match(GrpcRouteMetadataMatchMethod match)
An object that represents the data to match from the request.
- Parameters:
match- 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.
-
match
default GrpcRouteMetadata.Builder match(Consumer<GrpcRouteMetadataMatchMethod.Builder> match)
An object that represents the data to match from the request.
This is a convenience method that creates an instance of theGrpcRouteMetadataMatchMethod.Builderavoiding the need to create one manually viaGrpcRouteMetadataMatchMethod.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomatch(GrpcRouteMetadataMatchMethod).- Parameters:
match- a consumer that will call methods onGrpcRouteMetadataMatchMethod.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
match(GrpcRouteMetadataMatchMethod)
-
name
GrpcRouteMetadata.Builder name(String name)
The name of the route.
- Parameters:
name- The name of the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-