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