@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StatelessRulesAndCustomActions extends Object implements Serializable, Cloneable, StructuredPojo
Stateless inspection criteria. Each stateless rule group uses exactly one of these data types to define its stateless rules.
Constructor and Description |
---|
StatelessRulesAndCustomActions() |
Modifier and Type | Method and Description |
---|---|
StatelessRulesAndCustomActions |
clone() |
boolean |
equals(Object obj) |
List<CustomAction> |
getCustomActions()
Defines an array of individual custom action definitions that are available for use by the stateless rules in
this
StatelessRulesAndCustomActions specification. |
List<StatelessRule> |
getStatelessRules()
Defines the set of stateless rules for use in a stateless rule group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomActions(Collection<CustomAction> customActions)
Defines an array of individual custom action definitions that are available for use by the stateless rules in
this
StatelessRulesAndCustomActions specification. |
void |
setStatelessRules(Collection<StatelessRule> statelessRules)
Defines the set of stateless rules for use in a stateless rule group.
|
String |
toString()
Returns a string representation of this object.
|
StatelessRulesAndCustomActions |
withCustomActions(Collection<CustomAction> customActions)
Defines an array of individual custom action definitions that are available for use by the stateless rules in
this
StatelessRulesAndCustomActions specification. |
StatelessRulesAndCustomActions |
withCustomActions(CustomAction... customActions)
Defines an array of individual custom action definitions that are available for use by the stateless rules in
this
StatelessRulesAndCustomActions specification. |
StatelessRulesAndCustomActions |
withStatelessRules(Collection<StatelessRule> statelessRules)
Defines the set of stateless rules for use in a stateless rule group.
|
StatelessRulesAndCustomActions |
withStatelessRules(StatelessRule... statelessRules)
Defines the set of stateless rules for use in a stateless rule group.
|
public List<StatelessRule> getStatelessRules()
Defines the set of stateless rules for use in a stateless rule group.
public void setStatelessRules(Collection<StatelessRule> statelessRules)
Defines the set of stateless rules for use in a stateless rule group.
statelessRules
- Defines the set of stateless rules for use in a stateless rule group.public StatelessRulesAndCustomActions withStatelessRules(StatelessRule... statelessRules)
Defines the set of stateless rules for use in a stateless rule group.
NOTE: This method appends the values to the existing list (if any). Use
setStatelessRules(java.util.Collection)
or withStatelessRules(java.util.Collection)
if you want
to override the existing values.
statelessRules
- Defines the set of stateless rules for use in a stateless rule group.public StatelessRulesAndCustomActions withStatelessRules(Collection<StatelessRule> statelessRules)
Defines the set of stateless rules for use in a stateless rule group.
statelessRules
- Defines the set of stateless rules for use in a stateless rule group.public List<CustomAction> getCustomActions()
Defines an array of individual custom action definitions that are available for use by the stateless rules in
this StatelessRulesAndCustomActions
specification. You name each custom action that you define, and
then you can use it by name in your StatelessRule RuleDefinition Actions
specification.
StatelessRulesAndCustomActions
specification. You name each custom action that
you define, and then you can use it by name in your StatelessRule RuleDefinition
Actions
specification.public void setCustomActions(Collection<CustomAction> customActions)
Defines an array of individual custom action definitions that are available for use by the stateless rules in
this StatelessRulesAndCustomActions
specification. You name each custom action that you define, and
then you can use it by name in your StatelessRule RuleDefinition Actions
specification.
customActions
- Defines an array of individual custom action definitions that are available for use by the stateless rules
in this StatelessRulesAndCustomActions
specification. You name each custom action that you
define, and then you can use it by name in your StatelessRule RuleDefinition
Actions
specification.public StatelessRulesAndCustomActions withCustomActions(CustomAction... customActions)
Defines an array of individual custom action definitions that are available for use by the stateless rules in
this StatelessRulesAndCustomActions
specification. You name each custom action that you define, and
then you can use it by name in your StatelessRule RuleDefinition Actions
specification.
NOTE: This method appends the values to the existing list (if any). Use
setCustomActions(java.util.Collection)
or withCustomActions(java.util.Collection)
if you want
to override the existing values.
customActions
- Defines an array of individual custom action definitions that are available for use by the stateless rules
in this StatelessRulesAndCustomActions
specification. You name each custom action that you
define, and then you can use it by name in your StatelessRule RuleDefinition
Actions
specification.public StatelessRulesAndCustomActions withCustomActions(Collection<CustomAction> customActions)
Defines an array of individual custom action definitions that are available for use by the stateless rules in
this StatelessRulesAndCustomActions
specification. You name each custom action that you define, and
then you can use it by name in your StatelessRule RuleDefinition Actions
specification.
customActions
- Defines an array of individual custom action definitions that are available for use by the stateless rules
in this StatelessRulesAndCustomActions
specification. You name each custom action that you
define, and then you can use it by name in your StatelessRule RuleDefinition
Actions
specification.public String toString()
toString
in class Object
Object.toString()
public StatelessRulesAndCustomActions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.