@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCoreDefinitionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListCoreDefinitionsResult() |
Modifier and Type | Method and Description |
---|---|
ListCoreDefinitionsResult |
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.
|
ListCoreDefinitionsResult |
withDefinitions(Collection<DefinitionInformation> definitions)
Definitions
|
ListCoreDefinitionsResult |
withDefinitions(DefinitionInformation... definitions)
Definitions
|
ListCoreDefinitionsResult |
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 ListCoreDefinitionsResult 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 ListCoreDefinitionsResult 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 ListCoreDefinitionsResult 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 ListCoreDefinitionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.