@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. If the protocol version is gRPC, these are gRPC codes. Otherwise, these are HTTP codes.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Matcher.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Matcher.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
grpcCode()
You can specify values between 0 and 99.
|
int |
hashCode() |
String |
httpCode()
For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Matcher.Builder> |
serializableBuilderClass() |
Matcher.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String httpCode()
For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
For Network Load Balancers and Gateway Load Balancers, this must be "200–399".
For Network Load Balancers and Gateway Load Balancers, this must be "200–399".
public final String grpcCode()
You can specify values between 0 and 99. You can specify multiple values (for example, "0,1") or a range of values (for example, "0-5"). The default value is 12.
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()
Copyright © 2021. All rights reserved.