@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 to use to retrieve the next page of results.
|
List<SipRule> |
getSipRules()
List of SIP rules and rule details.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setSipRules(Collection<SipRule> sipRules)
List of SIP rules and rule details.
|
String |
toString()
Returns a string representation of this object.
|
ListSipRulesResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
ListSipRulesResult |
withSipRules(Collection<SipRule> sipRules)
List of SIP rules and rule details.
|
ListSipRulesResult |
withSipRules(SipRule... sipRules)
List of SIP rules and rule details.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SipRule> getSipRules()
List of SIP rules and rule details.
public void setSipRules(Collection<SipRule> sipRules)
List of SIP rules and rule details.
sipRules
- List of SIP rules and rule details.public ListSipRulesResult withSipRules(SipRule... sipRules)
List of SIP rules and rule 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
- List of SIP rules and rule details.public ListSipRulesResult withSipRules(Collection<SipRule> sipRules)
List of SIP rules and rule details.
sipRules
- List of SIP rules and rule details.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public String getNextToken()
The token to use to retrieve the next page of results.
public ListSipRulesResult withNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListSipRulesResult clone()