@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSchemasResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListSchemasResult() |
Modifier and Type | Method and Description |
---|---|
ListSchemasResult |
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<SchemaListItem> |
getSchemas()
An array of
SchemaListItem objects containing details of each schema. |
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<SchemaListItem> schemas)
An array of
SchemaListItem objects containing details of each schema. |
String |
toString()
Returns a string representation of this object.
|
ListSchemasResult |
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.
|
ListSchemasResult |
withSchemas(Collection<SchemaListItem> schemas)
An array of
SchemaListItem objects containing details of each schema. |
ListSchemasResult |
withSchemas(SchemaListItem... schemas)
An array of
SchemaListItem objects containing details of each schema. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SchemaListItem> getSchemas()
An array of SchemaListItem
objects containing details of each schema.
SchemaListItem
objects containing details of each schema.public void setSchemas(Collection<SchemaListItem> schemas)
An array of SchemaListItem
objects containing details of each schema.
schemas
- An array of SchemaListItem
objects containing details of each schema.public ListSchemasResult withSchemas(SchemaListItem... schemas)
An array of SchemaListItem
objects containing details of each schema.
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 SchemaListItem
objects containing details of each schema.public ListSchemasResult withSchemas(Collection<SchemaListItem> schemas)
An array of SchemaListItem
objects containing details of each schema.
schemas
- An array of SchemaListItem
objects containing details of each schema.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 ListSchemasResult 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 ListSchemasResult clone()