@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListElasticsearchVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Container for the parameters for response received from ListElasticsearchVersions
operation.
Constructor and Description |
---|
ListElasticsearchVersionsResult() |
Modifier and Type | Method and Description |
---|---|
ListElasticsearchVersionsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getElasticsearchVersions() |
String |
getNextToken() |
int |
hashCode() |
void |
setElasticsearchVersions(Collection<String> elasticsearchVersions) |
void |
setNextToken(String nextToken) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListElasticsearchVersionsResult |
withElasticsearchVersions(Collection<String> elasticsearchVersions) |
ListElasticsearchVersionsResult |
withElasticsearchVersions(String... elasticsearchVersions)
NOTE: This method appends the values to the existing list (if any).
|
ListElasticsearchVersionsResult |
withNextToken(String nextToken) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setElasticsearchVersions(Collection<String> elasticsearchVersions)
elasticsearchVersions
- public ListElasticsearchVersionsResult withElasticsearchVersions(String... elasticsearchVersions)
NOTE: This method appends the values to the existing list (if any). Use
setElasticsearchVersions(java.util.Collection)
or
withElasticsearchVersions(java.util.Collection)
if you want to override the existing values.
elasticsearchVersions
- public ListElasticsearchVersionsResult withElasticsearchVersions(Collection<String> elasticsearchVersions)
elasticsearchVersions
- public void setNextToken(String nextToken)
nextToken
- public String getNextToken()
public ListElasticsearchVersionsResult withNextToken(String nextToken)
nextToken
- public String toString()
toString
in class Object
Object.toString()
public ListElasticsearchVersionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.