Interface GrpcMetadataMatchMethod.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GrpcMetadataMatchMethod.Builder,GrpcMetadataMatchMethod>,SdkBuilder<GrpcMetadataMatchMethod.Builder,GrpcMetadataMatchMethod>,SdkPojo
- Enclosing class:
- GrpcMetadataMatchMethod
public static interface GrpcMetadataMatchMethod.Builder extends SdkPojo, CopyableBuilder<GrpcMetadataMatchMethod.Builder,GrpcMetadataMatchMethod>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GrpcMetadataMatchMethod.Builderexact(String exact)The exact method header to be matched on.GrpcMetadataMatchMethod.Builderprefix(String prefix)The specified beginning characters of the method header to be matched on.default GrpcMetadataMatchMethod.Builderrange(Consumer<MatchRange.Builder> range)Sets the value of the Range property for this object.GrpcMetadataMatchMethod.Builderrange(MatchRange range)Sets the value of the Range property for this object.GrpcMetadataMatchMethod.Builderregex(String regex)The regex used to match the method header.GrpcMetadataMatchMethod.Buildersuffix(String suffix)The specified ending characters of the method header to match on.-
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
-
exact
GrpcMetadataMatchMethod.Builder exact(String exact)
The exact method header to be matched on.
- Parameters:
exact- The exact method header to be matched on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefix
GrpcMetadataMatchMethod.Builder prefix(String prefix)
The specified beginning characters of the method header to be matched on.
- Parameters:
prefix- The specified beginning characters of the method header to be matched on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
range
GrpcMetadataMatchMethod.Builder range(MatchRange range)
Sets the value of the Range property for this object.- Parameters:
range- The new value for the Range property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
range
default GrpcMetadataMatchMethod.Builder range(Consumer<MatchRange.Builder> range)
Sets the value of the Range property for this object. This is a convenience method that creates an instance of theMatchRange.Builderavoiding the need to create one manually viaMatchRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torange(MatchRange).- Parameters:
range- a consumer that will call methods onMatchRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
range(MatchRange)
-
regex
GrpcMetadataMatchMethod.Builder regex(String regex)
The regex used to match the method header.
- Parameters:
regex- The regex used to match the method header.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suffix
GrpcMetadataMatchMethod.Builder suffix(String suffix)
The specified ending characters of the method header to match on.
- Parameters:
suffix- The specified ending characters of the method header to match on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-