@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 value that indicates the starting point for the next set of response records in a subsequent request.
|
List<String> |
getSchemas()
The schemas that match the request pattern.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A value that indicates the starting point for the next set of response records in a subsequent request.
|
void |
setSchemas(Collection<String> schemas)
The schemas that match the request pattern.
|
String |
toString()
Returns a string representation of this object.
|
ListSchemasResult |
withNextToken(String nextToken)
A value that indicates the starting point for the next set of response records in a subsequent request.
|
ListSchemasResult |
withSchemas(Collection<String> schemas)
The schemas that match the request pattern.
|
ListSchemasResult |
withSchemas(String... schemas)
The schemas that match the request pattern.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
nextToken
- A value that indicates the starting point for the next set of response records in a subsequent request. If
a value is returned in a response, you can retrieve the next set of records by providing this returned
NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty,
all response records have been retrieved for the request.public String getNextToken()
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
public ListSchemasResult withNextToken(String nextToken)
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
nextToken
- A value that indicates the starting point for the next set of response records in a subsequent request. If
a value is returned in a response, you can retrieve the next set of records by providing this returned
NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty,
all response records have been retrieved for the request.public List<String> getSchemas()
The schemas that match the request pattern.
public void setSchemas(Collection<String> schemas)
The schemas that match the request pattern.
schemas
- The schemas that match the request pattern.public ListSchemasResult withSchemas(String... schemas)
The schemas that match the request pattern.
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
- The schemas that match the request pattern.public ListSchemasResult withSchemas(Collection<String> schemas)
The schemas that match the request pattern.
schemas
- The schemas that match the request pattern.public String toString()
toString
in class Object
Object.toString()
public ListSchemasResult clone()