@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRulesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRulesResult() |
Modifier and Type | Method and Description |
---|---|
ListRulesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token that identifies which batch of results you want to see.
|
List<ListRulesOutput> |
getRules()
A list of readiness rules for a specific resource type.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token that identifies which batch of results you want to see.
|
void |
setRules(Collection<ListRulesOutput> rules)
A list of readiness rules for a specific resource type.
|
String |
toString()
Returns a string representation of this object.
|
ListRulesResult |
withNextToken(String nextToken)
The token that identifies which batch of results you want to see.
|
ListRulesResult |
withRules(Collection<ListRulesOutput> rules)
A list of readiness rules for a specific resource type.
|
ListRulesResult |
withRules(ListRulesOutput... rules)
A list of readiness rules for a specific resource type.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token that identifies which batch of results you want to see.
nextToken
- The token that identifies which batch of results you want to see.public String getNextToken()
The token that identifies which batch of results you want to see.
public ListRulesResult withNextToken(String nextToken)
The token that identifies which batch of results you want to see.
nextToken
- The token that identifies which batch of results you want to see.public List<ListRulesOutput> getRules()
A list of readiness rules for a specific resource type.
public void setRules(Collection<ListRulesOutput> rules)
A list of readiness rules for a specific resource type.
rules
- A list of readiness rules for a specific resource type.public ListRulesResult withRules(ListRulesOutput... rules)
A list of readiness rules for a specific resource type.
NOTE: This method appends the values to the existing list (if any). Use
setRules(java.util.Collection)
or withRules(java.util.Collection)
if you want to override the
existing values.
rules
- A list of readiness rules for a specific resource type.public ListRulesResult withRules(Collection<ListRulesOutput> rules)
A list of readiness rules for a specific resource type.
rules
- A list of readiness rules for a specific resource type.public String toString()
toString
in class Object
Object.toString()
public ListRulesResult clone()