@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSafetyRulesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListSafetyRulesResult() |
Modifier and Type | Method and Description |
---|---|
ListSafetyRulesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token that identifies which batch of results you want to see.
|
List<Rule> |
getSafetyRules()
The list of safety rules in a control panel.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token that identifies which batch of results you want to see.
|
void |
setSafetyRules(Collection<Rule> safetyRules)
The list of safety rules in a control panel.
|
String |
toString()
Returns a string representation of this object.
|
ListSafetyRulesResult |
withNextToken(String nextToken)
The token that identifies which batch of results you want to see.
|
ListSafetyRulesResult |
withSafetyRules(Collection<Rule> safetyRules)
The list of safety rules in a control panel.
|
ListSafetyRulesResult |
withSafetyRules(Rule... safetyRules)
The list of safety rules in a control panel.
|
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 ListSafetyRulesResult 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<Rule> getSafetyRules()
The list of safety rules in a control panel.
public void setSafetyRules(Collection<Rule> safetyRules)
The list of safety rules in a control panel.
safetyRules
- The list of safety rules in a control panel.public ListSafetyRulesResult withSafetyRules(Rule... safetyRules)
The list of safety rules in a control panel.
NOTE: This method appends the values to the existing list (if any). Use
setSafetyRules(java.util.Collection)
or withSafetyRules(java.util.Collection)
if you want to
override the existing values.
safetyRules
- The list of safety rules in a control panel.public ListSafetyRulesResult withSafetyRules(Collection<Rule> safetyRules)
The list of safety rules in a control panel.
safetyRules
- The list of safety rules in a control panel.public String toString()
toString
in class Object
Object.toString()
public ListSafetyRulesResult clone()