@Generated(value="software.amazon.awssdk:codegen") public class ByteMatchSetUpdate extends Object implements StructuredPojo, ToCopyableBuilder<ByteMatchSetUpdate.Builder,ByteMatchSetUpdate>
In an UpdateByteMatchSet request, ByteMatchSetUpdate specifies whether to insert or delete a
ByteMatchTuple and includes the settings for the ByteMatchTuple.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ByteMatchSetUpdate.Builder |
| Modifier and Type | Method and Description |
|---|---|
ChangeAction |
action()
Specifies whether to insert or delete a ByteMatchTuple.
|
String |
actionAsString()
Specifies whether to insert or delete a ByteMatchTuple.
|
static ByteMatchSetUpdate.Builder |
builder() |
ByteMatchTuple |
byteMatchTuple()
Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF
to search for.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends ByteMatchSetUpdate.Builder> |
serializableBuilderClass() |
ByteMatchSetUpdate.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic ChangeAction action()
Specifies whether to insert or delete a ByteMatchTuple.
If the service returns an enum value that is not available in the current SDK version, action will
return ChangeAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
actionAsString().
ChangeActionpublic String actionAsString()
Specifies whether to insert or delete a ByteMatchTuple.
If the service returns an enum value that is not available in the current SDK version, action will
return ChangeAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
actionAsString().
ChangeActionpublic ByteMatchTuple byteMatchTuple()
Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF
to search for. If you specify DELETE for the value of Action, the
ByteMatchTuple values must exactly match the values in the ByteMatchTuple that you want
to delete from the ByteMatchSet.
DELETE for the value of Action, the
ByteMatchTuple values must exactly match the values in the ByteMatchTuple that
you want to delete from the ByteMatchSet.public ByteMatchSetUpdate.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ByteMatchSetUpdate.Builder,ByteMatchSetUpdate>public static ByteMatchSetUpdate.Builder builder()
public static Class<? extends ByteMatchSetUpdate.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.