@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListExclusionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListExclusionsResult() |
Modifier and Type | Method and Description |
---|---|
ListExclusionsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getExclusionArns()
A list of exclusions' ARNs returned by the action.
|
String |
getNextToken()
When a response is generated, if there is more data to be listed, this parameters is present in the response and
contains the value to use for the nextToken parameter in a subsequent pagination request.
|
int |
hashCode() |
void |
setExclusionArns(Collection<String> exclusionArns)
A list of exclusions' ARNs returned by the action.
|
void |
setNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameters is present in the response and
contains the value to use for the nextToken parameter in a subsequent pagination request.
|
String |
toString()
Returns a string representation of this object.
|
ListExclusionsResult |
withExclusionArns(Collection<String> exclusionArns)
A list of exclusions' ARNs returned by the action.
|
ListExclusionsResult |
withExclusionArns(String... exclusionArns)
A list of exclusions' ARNs returned by the action.
|
ListExclusionsResult |
withNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameters is present in the response and
contains the value to use for the nextToken parameter in a subsequent pagination request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getExclusionArns()
A list of exclusions' ARNs returned by the action.
public void setExclusionArns(Collection<String> exclusionArns)
A list of exclusions' ARNs returned by the action.
exclusionArns
- A list of exclusions' ARNs returned by the action.public ListExclusionsResult withExclusionArns(String... exclusionArns)
A list of exclusions' ARNs returned by the action.
NOTE: This method appends the values to the existing list (if any). Use
setExclusionArns(java.util.Collection)
or withExclusionArns(java.util.Collection)
if you want
to override the existing values.
exclusionArns
- A list of exclusions' ARNs returned by the action.public ListExclusionsResult withExclusionArns(Collection<String> exclusionArns)
A list of exclusions' ARNs returned by the action.
exclusionArns
- A list of exclusions' ARNs returned by the action.public void setNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameters 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 parameters 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 String getNextToken()
When a response is generated, if there is more data to be listed, this parameters 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 ListExclusionsResult withNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameters 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 parameters 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 String toString()
toString
in class Object
Object.toString()
public ListExclusionsResult clone()