@Generated(value="software.amazon.awssdk:codegen") public final class GrpcRouteMetadataMatchMethod extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GrpcRouteMetadataMatchMethod.Builder,GrpcRouteMetadataMatchMethod>
An object that represents the match method. Specify one of the match values.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GrpcRouteMetadataMatchMethod.Builder |
static class |
GrpcRouteMetadataMatchMethod.Type |
| Modifier and Type | Method and Description |
|---|---|
static GrpcRouteMetadataMatchMethod.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
exact()
The value sent by the client must match the specified value exactly.
|
static GrpcRouteMetadataMatchMethod |
fromExact(String exact)
Create an instance of this class with
exact() initialized to the given value. |
static GrpcRouteMetadataMatchMethod |
fromPrefix(String prefix)
Create an instance of this class with
prefix() initialized to the given value. |
static GrpcRouteMetadataMatchMethod |
fromRange(Consumer<MatchRange.Builder> range)
Create an instance of this class with
range() initialized to the given value. |
static GrpcRouteMetadataMatchMethod |
fromRange(MatchRange range)
Create an instance of this class with
range() initialized to the given value. |
static GrpcRouteMetadataMatchMethod |
fromRegex(String regex)
Create an instance of this class with
regex() initialized to the given value. |
static GrpcRouteMetadataMatchMethod |
fromSuffix(String suffix)
Create an instance of this class with
suffix() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
prefix()
The value sent by the client must begin with the specified characters.
|
MatchRange |
range()
An object that represents the range of values to match on.
|
String |
regex()
The value sent by the client must include the specified characters.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GrpcRouteMetadataMatchMethod.Builder> |
serializableBuilderClass() |
String |
suffix()
The value sent by the client must end with the specified characters.
|
GrpcRouteMetadataMatchMethod.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
GrpcRouteMetadataMatchMethod.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String exact()
The value sent by the client must match the specified value exactly.
public final String prefix()
The value sent by the client must begin with the specified characters.
public final MatchRange range()
An object that represents the range of values to match on.
public final String regex()
The value sent by the client must include the specified characters.
public final String suffix()
The value sent by the client must end with the specified characters.
public GrpcRouteMetadataMatchMethod.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GrpcRouteMetadataMatchMethod.Builder,GrpcRouteMetadataMatchMethod>public static GrpcRouteMetadataMatchMethod.Builder builder()
public static Class<? extends GrpcRouteMetadataMatchMethod.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static GrpcRouteMetadataMatchMethod fromExact(String exact)
exact() initialized to the given value.
The value sent by the client must match the specified value exactly.
exact - The value sent by the client must match the specified value exactly.public static GrpcRouteMetadataMatchMethod fromPrefix(String prefix)
prefix() initialized to the given value.
The value sent by the client must begin with the specified characters.
prefix - The value sent by the client must begin with the specified characters.public static GrpcRouteMetadataMatchMethod fromRange(MatchRange range)
range() initialized to the given value.
An object that represents the range of values to match on.
range - An object that represents the range of values to match on.public static GrpcRouteMetadataMatchMethod fromRange(Consumer<MatchRange.Builder> range)
range() initialized to the given value.
An object that represents the range of values to match on.
range - An object that represents the range of values to match on.public static GrpcRouteMetadataMatchMethod fromRegex(String regex)
regex() initialized to the given value.
The value sent by the client must include the specified characters.
regex - The value sent by the client must include the specified characters.public static GrpcRouteMetadataMatchMethod fromSuffix(String suffix)
suffix() initialized to the given value.
The value sent by the client must end with the specified characters.
suffix - The value sent by the client must end with the specified characters.public GrpcRouteMetadataMatchMethod.Type type()
GrpcRouteMetadataMatchMethod.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be GrpcRouteMetadataMatchMethod.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.