@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSchemaVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListSchemaVersionsResult() |
Modifier and Type | Method and Description |
---|---|
ListSchemaVersionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is
not the last.
|
List<SchemaVersionListItem> |
getSchemas()
An array of
SchemaVersionList objects containing details of each schema version. |
int |
hashCode() |
void |
setNextToken(String nextToken)
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is
not the last.
|
void |
setSchemas(Collection<SchemaVersionListItem> schemas)
An array of
SchemaVersionList objects containing details of each schema version. |
String |
toString()
Returns a string representation of this object.
|
ListSchemaVersionsResult |
withNextToken(String nextToken)
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is
not the last.
|
ListSchemaVersionsResult |
withSchemas(Collection<SchemaVersionListItem> schemas)
An array of
SchemaVersionList objects containing details of each schema version. |
ListSchemaVersionsResult |
withSchemas(SchemaVersionListItem... schemas)
An array of
SchemaVersionList objects containing details of each schema version. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SchemaVersionListItem> getSchemas()
An array of SchemaVersionList
objects containing details of each schema version.
SchemaVersionList
objects containing details of each schema version.public void setSchemas(Collection<SchemaVersionListItem> schemas)
An array of SchemaVersionList
objects containing details of each schema version.
schemas
- An array of SchemaVersionList
objects containing details of each schema version.public ListSchemaVersionsResult withSchemas(SchemaVersionListItem... schemas)
An array of SchemaVersionList
objects containing details of each schema version.
NOTE: This method appends the values to the existing list (if any). Use
setSchemas(java.util.Collection)
or withSchemas(java.util.Collection)
if you want to override
the existing values.
schemas
- An array of SchemaVersionList
objects containing details of each schema version.public ListSchemaVersionsResult withSchemas(Collection<SchemaVersionListItem> schemas)
An array of SchemaVersionList
objects containing details of each schema version.
schemas
- An array of SchemaVersionList
objects containing details of each schema version.public void setNextToken(String nextToken)
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.
nextToken
- A continuation token for paginating the returned list of tokens, returned if the current segment of the
list is not the last.public String getNextToken()
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.
public ListSchemaVersionsResult withNextToken(String nextToken)
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.
nextToken
- A continuation token for paginating the returned list of tokens, returned if the current segment of the
list is not the last.public String toString()
toString
in class Object
Object.toString()
public ListSchemaVersionsResult clone()