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
Modifier and TypeMethodDescriptionThe exact method header to be matched on.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.range(MatchRange range) Sets the value of the Range property for this object.The regex used to match the method header.The specified ending characters of the method header to match on.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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:
-
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
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.
-