@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()
Information about a definition.
|
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)
Information about a definition.
|
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.
|
ListCoreDefinitionsResult |
withDefinitions(Collection<DefinitionInformation> definitions)
Information about a definition.
|
ListCoreDefinitionsResult |
withDefinitions(DefinitionInformation... definitions)
Information about a definition.
|
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
- Information about a definition.public 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
- Information about a definition.public ListCoreDefinitionsResult withDefinitions(Collection<DefinitionInformation> definitions)
definitions
- Information about a definition.public 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()