@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeActivationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeActivationsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeActivationsResult |
clone() |
boolean |
equals(Object obj) |
List<Activation> |
getActivationList()
A list of activations for your Amazon Web Services account.
|
String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
void |
setActivationList(Collection<Activation> activationList)
A list of activations for your Amazon Web Services account.
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
String |
toString()
Returns a string representation of this object.
|
DescribeActivationsResult |
withActivationList(Activation... activationList)
A list of activations for your Amazon Web Services account.
|
DescribeActivationsResult |
withActivationList(Collection<Activation> activationList)
A list of activations for your Amazon Web Services account.
|
DescribeActivationsResult |
withNextToken(String nextToken)
The token for the next set of items to return.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Activation> getActivationList()
A list of activations for your Amazon Web Services account.
public void setActivationList(Collection<Activation> activationList)
A list of activations for your Amazon Web Services account.
activationList
- A list of activations for your Amazon Web Services account.public DescribeActivationsResult withActivationList(Activation... activationList)
A list of activations for your Amazon Web Services account.
NOTE: This method appends the values to the existing list (if any). Use
setActivationList(java.util.Collection)
or withActivationList(java.util.Collection)
if you want
to override the existing values.
activationList
- A list of activations for your Amazon Web Services account.public DescribeActivationsResult withActivationList(Collection<Activation> activationList)
A list of activations for your Amazon Web Services account.
activationList
- A list of activations for your Amazon Web Services account.public void setNextToken(String nextToken)
The token for the next set of items to return. Use this token to get the next set of results.
nextToken
- The token for the next set of items to return. Use this token to get the next set of results.public String getNextToken()
The token for the next set of items to return. Use this token to get the next set of results.
public DescribeActivationsResult withNextToken(String nextToken)
The token for the next set of items to return. Use this token to get the next set of results.
nextToken
- The token for the next set of items to return. Use this token to get the next set of results.public String toString()
toString
in class Object
Object.toString()
public DescribeActivationsResult clone()
Copyright © 2023. All rights reserved.