@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListResourceDefinitionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListResourceDefinitionsResult() |
Modifier and Type | Method and Description |
---|---|
ListResourceDefinitionsResult |
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.
|
ListResourceDefinitionsResult |
withDefinitions(Collection<DefinitionInformation> definitions)
Information about a definition.
|
ListResourceDefinitionsResult |
withDefinitions(DefinitionInformation... definitions)
Information about a definition.
|
ListResourceDefinitionsResult |
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 ListResourceDefinitionsResult 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 ListResourceDefinitionsResult 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 ListResourceDefinitionsResult 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 ListResourceDefinitionsResult clone()