@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSubscriptionDefinitionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListSubscriptionDefinitionsResult() |
Modifier and Type | Method and Description |
---|---|
ListSubscriptionDefinitionsResult |
clone() |
boolean |
equals(Object obj) |
List<DefinitionInformation> |
getDefinitions()
Definitions
|
String |
getNextToken()
The token for the next set of results, or ''null'' if there are no additional results.
|
int |
hashCode() |
void |
setDefinitions(Collection<DefinitionInformation> definitions)
Definitions
|
void |
setNextToken(String nextToken)
The token for the next set of results, or ''null'' if there are no additional results.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListSubscriptionDefinitionsResult |
withDefinitions(Collection<DefinitionInformation> definitions)
Definitions
|
ListSubscriptionDefinitionsResult |
withDefinitions(DefinitionInformation... definitions)
Definitions
|
ListSubscriptionDefinitionsResult |
withNextToken(String nextToken)
The token for the next set of results, or ''null'' if there are no additional results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DefinitionInformation> getDefinitions()
public void setDefinitions(Collection<DefinitionInformation> definitions)
definitions
- Definitionspublic ListSubscriptionDefinitionsResult withDefinitions(DefinitionInformation... definitions)
NOTE: This method appends the values to the existing list (if any). Use
setDefinitions(java.util.Collection)
or withDefinitions(java.util.Collection)
if you want to
override the existing values.
definitions
- Definitionspublic ListSubscriptionDefinitionsResult withDefinitions(Collection<DefinitionInformation> definitions)
definitions
- Definitionspublic void setNextToken(String nextToken)
nextToken
- The token for the next set of results, or ''null'' if there are no additional results.public String getNextToken()
public ListSubscriptionDefinitionsResult withNextToken(String nextToken)
nextToken
- The token for the next set of results, or ''null'' if there are no additional results.public String toString()
toString
in class Object
Object.toString()
public ListSubscriptionDefinitionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.