public static interface GrpcMetadataMatchMethod.Builder extends SdkPojo, CopyableBuilder<GrpcMetadataMatchMethod.Builder,GrpcMetadataMatchMethod>
| Modifier and Type | Method and Description |
|---|---|
GrpcMetadataMatchMethod.Builder |
exact(String exact)
The exact method header to be matched on.
|
GrpcMetadataMatchMethod.Builder |
prefix(String prefix)
The specified beginning characters of the method header to be matched on.
|
default GrpcMetadataMatchMethod.Builder |
range(Consumer<MatchRange.Builder> range)
Sets the value of the Range property for this object.
|
GrpcMetadataMatchMethod.Builder |
range(MatchRange range)
Sets the value of the Range property for this object.
|
GrpcMetadataMatchMethod.Builder |
regex(String regex)
The regex used to match the method header.
|
GrpcMetadataMatchMethod.Builder |
suffix(String suffix)
The specified ending characters of the method header to match on.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGrpcMetadataMatchMethod.Builder exact(String exact)
The exact method header to be matched on.
exact - The exact method header to be matched on.GrpcMetadataMatchMethod.Builder prefix(String prefix)
The specified beginning characters of the method header to be matched on.
prefix - The specified beginning characters of the method header to be matched on.GrpcMetadataMatchMethod.Builder range(MatchRange range)
range - The new value for the Range property for this object.default GrpcMetadataMatchMethod.Builder range(Consumer<MatchRange.Builder> range)
MatchRange.Builder avoiding the need to
create one manually via MatchRange.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to range(MatchRange).
range - a consumer that will call methods on MatchRange.Builderrange(MatchRange)GrpcMetadataMatchMethod.Builder regex(String regex)
The regex used to match the method header.
regex - The regex used to match the method header.GrpcMetadataMatchMethod.Builder suffix(String suffix)
The specified ending characters of the method header to match on.
suffix - The specified ending characters of the method header to match on.Copyright © 2023. All rights reserved.