@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)
Marshalls this structured data using the given
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.RuleType
public String getType()
The type of attribute validation rule.
RuleType
public Rule withType(String type)
The type of attribute validation rule.
type
- The type of attribute validation rule.RuleType
public void setType(RuleType type)
The type of attribute validation rule.
type
- The type of attribute validation rule.RuleType
public Rule withType(RuleType type)
The type of attribute validation rule.
type
- The type of attribute validation rule.RuleType
public 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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.