@Generated(value="software.amazon.awssdk:codegen") public final class Rule extends Object implements ToCopyableBuilder<Rule.Builder,Rule>
Information about a rule.
Modifier and Type | Class and Description |
---|---|
static interface |
Rule.Builder |
Modifier and Type | Method and Description |
---|---|
List<Action> |
actions()
The actions.
|
static Rule.Builder |
builder() |
List<RuleCondition> |
conditions()
The conditions.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isDefault()
Indicates whether this is the default rule.
|
String |
priority()
The priority.
|
String |
ruleArn()
The Amazon Resource Name (ARN) of the rule.
|
static Class<? extends Rule.Builder> |
serializableBuilderClass() |
Rule.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String ruleArn()
The Amazon Resource Name (ARN) of the rule.
public String priority()
The priority.
public List<RuleCondition> conditions()
The conditions.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<Action> actions()
The actions.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Boolean isDefault()
Indicates whether this is the default rule.
public Rule.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Rule.Builder,Rule>
public static Rule.Builder builder()
public static Class<? extends Rule.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.