Class HttpPathMatch
- java.lang.Object
-
- software.amazon.awssdk.services.appmesh.model.HttpPathMatch
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HttpPathMatch.Builder,HttpPathMatch>
@Generated("software.amazon.awssdk:codegen") public final class HttpPathMatch extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HttpPathMatch.Builder,HttpPathMatch>
An object representing the path to match in the request.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHttpPathMatch.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HttpPathMatch.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringexact()The exact path to match on.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringregex()The regex used to match the path.List<SdkField<?>>sdkFields()static Class<? extends HttpPathMatch.Builder>serializableBuilderClass()HttpPathMatch.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
exact
public final String exact()
The exact path to match on.
- Returns:
- The exact path to match on.
-
regex
public final String regex()
The regex used to match the path.
- Returns:
- The regex used to match the path.
-
toBuilder
public HttpPathMatch.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<HttpPathMatch.Builder,HttpPathMatch>
-
builder
public static HttpPathMatch.Builder builder()
-
serializableBuilderClass
public static Class<? extends HttpPathMatch.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-