public class ListRulesPackagesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
When a response is generated, if there is more data to be listed, this
parameter is present in the response and contains the value to use for
the nextToken parameter in a subsequent pagination request.
|
private java.util.List<java.lang.String> |
rulesPackageArns
The list of ARNs that specifies the rules packages returned by the
action.
|
Constructor and Description |
---|
ListRulesPackagesResult() |
Modifier and Type | Method and Description |
---|---|
ListRulesPackagesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
When a response is generated, if there is more data to be listed, this
parameter is present in the response and contains the value to use for
the nextToken parameter in a subsequent pagination request.
|
java.util.List<java.lang.String> |
getRulesPackageArns()
The list of ARNs that specifies the rules packages returned by the
action.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
When a response is generated, if there is more data to be listed, this
parameter is present in the response and contains the value to use for
the nextToken parameter in a subsequent pagination request.
|
void |
setRulesPackageArns(java.util.Collection<java.lang.String> rulesPackageArns)
The list of ARNs that specifies the rules packages returned by the
action.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListRulesPackagesResult |
withNextToken(java.lang.String nextToken)
When a response is generated, if there is more data to be listed, this
parameter is present in the response and contains the value to use for
the nextToken parameter in a subsequent pagination request.
|
ListRulesPackagesResult |
withRulesPackageArns(java.util.Collection<java.lang.String> rulesPackageArns)
The list of ARNs that specifies the rules packages returned by the
action.
|
ListRulesPackagesResult |
withRulesPackageArns(java.lang.String... rulesPackageArns)
The list of ARNs that specifies the rules packages returned by the
action.
|
private java.util.List<java.lang.String> rulesPackageArns
The list of ARNs that specifies the rules packages returned by the action.
private java.lang.String nextToken
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
public java.util.List<java.lang.String> getRulesPackageArns()
The list of ARNs that specifies the rules packages returned by the action.
public void setRulesPackageArns(java.util.Collection<java.lang.String> rulesPackageArns)
The list of ARNs that specifies the rules packages returned by the action.
rulesPackageArns
- The list of ARNs that specifies the rules packages returned by the
action.public ListRulesPackagesResult withRulesPackageArns(java.lang.String... rulesPackageArns)
The list of ARNs that specifies the rules packages returned by the action.
NOTE: This method appends the values to the existing list (if
any). Use setRulesPackageArns(java.util.Collection)
or
withRulesPackageArns(java.util.Collection)
if you want to
override the existing values.
rulesPackageArns
- The list of ARNs that specifies the rules packages returned by the
action.public ListRulesPackagesResult withRulesPackageArns(java.util.Collection<java.lang.String> rulesPackageArns)
The list of ARNs that specifies the rules packages returned by the action.
rulesPackageArns
- The list of ARNs that specifies the rules packages returned by the
action.public void setNextToken(java.lang.String nextToken)
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
nextToken
- When a response is generated, if there is more data to be listed,
this parameter is present in the response and contains the value
to use for the nextToken parameter in a subsequent
pagination request. If there is no more data to be listed, this
parameter is set to null.public java.lang.String getNextToken()
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
public ListRulesPackagesResult withNextToken(java.lang.String nextToken)
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
nextToken
- When a response is generated, if there is more data to be listed,
this parameter is present in the response and contains the value
to use for the nextToken parameter in a subsequent
pagination request. If there is no more data to be listed, this
parameter is set to null.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListRulesPackagesResult clone()
clone
in class java.lang.Object