@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Rule extends Object implements Serializable, Cloneable, StructuredPojo
Contains an ARN and parameters associated with the rule.
| Constructor and Description |
|---|
Rule() |
| Modifier and Type | Method and Description |
|---|---|
Rule |
addParametersEntry(String key,
String value) |
Rule |
clearParametersEntries()
Removes all the entries added into Parameters.
|
Rule |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getParameters()
Min and max parameters associated with the rule.
|
String |
getType()
The type of attribute validation rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setParameters(Map<String,String> parameters)
Min and max parameters associated with the rule.
|
void |
setType(RuleType type)
The type of attribute validation rule.
|
void |
setType(String type)
The type of attribute validation rule.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Rule |
withParameters(Map<String,String> parameters)
Min and max parameters associated with the rule.
|
Rule |
withType(RuleType type)
The type of attribute validation rule.
|
Rule |
withType(String type)
The type of attribute validation rule.
|
public void setType(String type)
The type of attribute validation rule.
type - The type of attribute validation rule.RuleTypepublic String getType()
The type of attribute validation rule.
RuleTypepublic Rule withType(String type)
The type of attribute validation rule.
type - The type of attribute validation rule.RuleTypepublic void setType(RuleType type)
The type of attribute validation rule.
type - The type of attribute validation rule.RuleTypepublic Rule withType(RuleType type)
The type of attribute validation rule.
type - The type of attribute validation rule.RuleTypepublic Map<String,String> getParameters()
Min and max parameters associated with the rule.
public void setParameters(Map<String,String> parameters)
Min and max parameters associated with the rule.
parameters - Min and max parameters associated with the rule.public Rule withParameters(Map<String,String> parameters)
Min and max parameters associated with the rule.
parameters - Min and max parameters associated with the rule.public Rule clearParametersEntries()
public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.