StructuredPojo
, ToCopyableBuilder<RuleUpdate.Builder,RuleUpdate>
@Generated("software.amazon.awssdk:codegen") public class RuleUpdate extends Object implements StructuredPojo, ToCopyableBuilder<RuleUpdate.Builder,RuleUpdate>
Specifies a Predicate
(such as an IPSet
) and indicates whether you want to add it to a
Rule
or delete it from a Rule
.
Modifier and Type | Class | Description |
---|---|---|
static interface |
RuleUpdate.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
action() |
Specify
INSERT to add a Predicate to a Rule . |
static RuleUpdate.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
Predicate |
predicate() |
The ID of the
Predicate (such as an IPSet ) that you want to add to a Rule . |
static Class<? extends RuleUpdate.Builder> |
serializableBuilderClass() |
|
RuleUpdate.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String action()
Specify INSERT
to add a Predicate
to a Rule
. Use DELETE
to
remove a Predicate
from a Rule
.
INSERT
to add a Predicate
to a Rule
. Use
DELETE
to remove a Predicate
from a Rule
.ChangeAction
public Predicate predicate()
The ID of the Predicate
(such as an IPSet
) that you want to add to a Rule
.
Predicate
(such as an IPSet
) that you want to add to a
Rule
.public RuleUpdate.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RuleUpdate.Builder,RuleUpdate>
public static RuleUpdate.Builder builder()
public static Class<? extends RuleUpdate.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.