@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSipRulesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListSipRulesResult() |
Modifier and Type | Method and Description |
---|---|
ListSipRulesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token used to return the next page of results.
|
List<SipRule> |
getSipRules()
The list of SIP rules and details.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token used to return the next page of results.
|
void |
setSipRules(Collection<SipRule> sipRules)
The list of SIP rules and details.
|
String |
toString()
Returns a string representation of this object.
|
ListSipRulesResult |
withNextToken(String nextToken)
The token used to return the next page of results.
|
ListSipRulesResult |
withSipRules(Collection<SipRule> sipRules)
The list of SIP rules and details.
|
ListSipRulesResult |
withSipRules(SipRule... sipRules)
The list of SIP rules and details.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SipRule> getSipRules()
The list of SIP rules and details.
public void setSipRules(Collection<SipRule> sipRules)
The list of SIP rules and details.
sipRules
- The list of SIP rules and details.public ListSipRulesResult withSipRules(SipRule... sipRules)
The list of SIP rules and details.
NOTE: This method appends the values to the existing list (if any). Use
setSipRules(java.util.Collection)
or withSipRules(java.util.Collection)
if you want to override
the existing values.
sipRules
- The list of SIP rules and details.public ListSipRulesResult withSipRules(Collection<SipRule> sipRules)
The list of SIP rules and details.
sipRules
- The list of SIP rules and details.public void setNextToken(String nextToken)
The token used to return the next page of results.
nextToken
- The token used to return the next page of results.public String getNextToken()
The token used to return the next page of results.
public ListSipRulesResult withNextToken(String nextToken)
The token used to return the next page of results.
nextToken
- The token used to return the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListSipRulesResult clone()