@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRulesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetRulesResult() |
| Modifier and Type | Method and Description |
|---|---|
GetRulesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The next page token to be used in subsequent requests.
|
List<RuleDetail> |
getRuleDetails()
The details of the requested rule.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The next page token to be used in subsequent requests.
|
void |
setRuleDetails(Collection<RuleDetail> ruleDetails)
The details of the requested rule.
|
String |
toString()
Returns a string representation of this object.
|
GetRulesResult |
withNextToken(String nextToken)
The next page token to be used in subsequent requests.
|
GetRulesResult |
withRuleDetails(Collection<RuleDetail> ruleDetails)
The details of the requested rule.
|
GetRulesResult |
withRuleDetails(RuleDetail... ruleDetails)
The details of the requested rule.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<RuleDetail> getRuleDetails()
The details of the requested rule.
public void setRuleDetails(Collection<RuleDetail> ruleDetails)
The details of the requested rule.
ruleDetails - The details of the requested rule.public GetRulesResult withRuleDetails(RuleDetail... ruleDetails)
The details of the requested rule.
NOTE: This method appends the values to the existing list (if any). Use
setRuleDetails(java.util.Collection) or withRuleDetails(java.util.Collection) if you want to
override the existing values.
ruleDetails - The details of the requested rule.public GetRulesResult withRuleDetails(Collection<RuleDetail> ruleDetails)
The details of the requested rule.
ruleDetails - The details of the requested rule.public void setNextToken(String nextToken)
The next page token to be used in subsequent requests.
nextToken - The next page token to be used in subsequent requests.public String getNextToken()
The next page token to be used in subsequent requests.
public GetRulesResult withNextToken(String nextToken)
The next page token to be used in subsequent requests.
nextToken - The next page token to be used in subsequent requests.public String toString()
toString in class ObjectObject.toString()public GetRulesResult clone()