@Generated(value="software.amazon.awssdk:codegen") public final class PathMatchType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PathMatchType.Builder,PathMatchType>
Describes a path match type. Each rule can include only one of the following types of paths.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PathMatchType.Builder |
static class |
PathMatchType.Type |
| Modifier and Type | Method and Description |
|---|---|
static PathMatchType.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
exact()
An exact match of the path.
|
static PathMatchType |
fromExact(String exact)
Create an instance of this class with
exact() initialized to the given value. |
static PathMatchType |
fromPrefix(String prefix)
Create an instance of this class with
prefix() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
prefix()
A prefix match of the path.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PathMatchType.Builder> |
serializableBuilderClass() |
PathMatchType.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
PathMatchType.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()
An exact match of the path.
public final String prefix()
A prefix match of the path.
public PathMatchType.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PathMatchType.Builder,PathMatchType>public static PathMatchType.Builder builder()
public static Class<? extends PathMatchType.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static PathMatchType fromExact(String exact)
exact() initialized to the given value.
An exact match of the path.
exact - An exact match of the path.public static PathMatchType fromPrefix(String prefix)
prefix() initialized to the given value.
A prefix match of the path.
prefix - A prefix match of the path.public PathMatchType.Type type()
PathMatchType.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 PathMatchType.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.