@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeReservedElasticsearchInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Container for results from DescribeReservedElasticsearchInstances
Constructor and Description |
---|
DescribeReservedElasticsearchInstancesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeReservedElasticsearchInstancesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
Provides an identifier to allow retrieval of paginated results.
|
List<ReservedElasticsearchInstance> |
getReservedElasticsearchInstances()
List of reserved Elasticsearch instances.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
Provides an identifier to allow retrieval of paginated results.
|
void |
setReservedElasticsearchInstances(Collection<ReservedElasticsearchInstance> reservedElasticsearchInstances)
List of reserved Elasticsearch instances.
|
String |
toString()
Returns a string representation of this object.
|
DescribeReservedElasticsearchInstancesResult |
withNextToken(String nextToken)
Provides an identifier to allow retrieval of paginated results.
|
DescribeReservedElasticsearchInstancesResult |
withReservedElasticsearchInstances(Collection<ReservedElasticsearchInstance> reservedElasticsearchInstances)
List of reserved Elasticsearch instances.
|
DescribeReservedElasticsearchInstancesResult |
withReservedElasticsearchInstances(ReservedElasticsearchInstance... reservedElasticsearchInstances)
List of reserved Elasticsearch instances.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeReservedElasticsearchInstancesResult()
public void setNextToken(String nextToken)
Provides an identifier to allow retrieval of paginated results.
nextToken
- Provides an identifier to allow retrieval of paginated results.public String getNextToken()
Provides an identifier to allow retrieval of paginated results.
public DescribeReservedElasticsearchInstancesResult withNextToken(String nextToken)
Provides an identifier to allow retrieval of paginated results.
nextToken
- Provides an identifier to allow retrieval of paginated results.public List<ReservedElasticsearchInstance> getReservedElasticsearchInstances()
List of reserved Elasticsearch instances.
public void setReservedElasticsearchInstances(Collection<ReservedElasticsearchInstance> reservedElasticsearchInstances)
List of reserved Elasticsearch instances.
reservedElasticsearchInstances
- List of reserved Elasticsearch instances.public DescribeReservedElasticsearchInstancesResult withReservedElasticsearchInstances(ReservedElasticsearchInstance... reservedElasticsearchInstances)
List of reserved Elasticsearch instances.
NOTE: This method appends the values to the existing list (if any). Use
setReservedElasticsearchInstances(java.util.Collection)
or
withReservedElasticsearchInstances(java.util.Collection)
if you want to override the existing values.
reservedElasticsearchInstances
- List of reserved Elasticsearch instances.public DescribeReservedElasticsearchInstancesResult withReservedElasticsearchInstances(Collection<ReservedElasticsearchInstance> reservedElasticsearchInstances)
List of reserved Elasticsearch instances.
reservedElasticsearchInstances
- List of reserved Elasticsearch instances.public String toString()
toString
in class Object
Object.toString()
public DescribeReservedElasticsearchInstancesResult clone()