@Generated(value="software.amazon.awssdk:codegen") public final class Matcher extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Matcher.Builder,Matcher>
The codes to use when checking for a successful response from a target for health checks.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Matcher.Builder |
static class |
Matcher.Type |
| Modifier and Type | Method and Description |
|---|---|
static Matcher.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static Matcher |
fromHttpCode(String httpCode)
Create an instance of this class with
httpCode() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
httpCode()
The HTTP code to use when checking for a successful response from a target.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Matcher.Builder> |
serializableBuilderClass() |
Matcher.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Matcher.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String httpCode()
The HTTP code to use when checking for a successful response from a target.
public Matcher.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Matcher.Builder,Matcher>public static Matcher.Builder builder()
public static Class<? extends Matcher.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static Matcher fromHttpCode(String httpCode)
httpCode() initialized to the given value.
The HTTP code to use when checking for a successful response from a target.
httpCode - The HTTP code to use when checking for a successful response from a target.public Matcher.Type type()
Matcher.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 Matcher.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.