@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListInstanceTypeDetailsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListInstanceTypeDetailsResult() |
Modifier and Type | Method and Description |
---|---|
ListInstanceTypeDetailsResult |
clone() |
boolean |
equals(Object obj) |
List<InstanceTypeDetails> |
getInstanceTypeDetails()
Lists all supported instance types and features for the given OpenSearch or Elasticsearch version.
|
String |
getNextToken()
When
nextToken is returned, there are more results available. |
int |
hashCode() |
void |
setInstanceTypeDetails(Collection<InstanceTypeDetails> instanceTypeDetails)
Lists all supported instance types and features for the given OpenSearch or Elasticsearch version.
|
void |
setNextToken(String nextToken)
When
nextToken is returned, there are more results available. |
String |
toString()
Returns a string representation of this object.
|
ListInstanceTypeDetailsResult |
withInstanceTypeDetails(Collection<InstanceTypeDetails> instanceTypeDetails)
Lists all supported instance types and features for the given OpenSearch or Elasticsearch version.
|
ListInstanceTypeDetailsResult |
withInstanceTypeDetails(InstanceTypeDetails... instanceTypeDetails)
Lists all supported instance types and features for the given OpenSearch or Elasticsearch version.
|
ListInstanceTypeDetailsResult |
withNextToken(String nextToken)
When
nextToken is returned, there are more results available. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<InstanceTypeDetails> getInstanceTypeDetails()
Lists all supported instance types and features for the given OpenSearch or Elasticsearch version.
public void setInstanceTypeDetails(Collection<InstanceTypeDetails> instanceTypeDetails)
Lists all supported instance types and features for the given OpenSearch or Elasticsearch version.
instanceTypeDetails
- Lists all supported instance types and features for the given OpenSearch or Elasticsearch version.public ListInstanceTypeDetailsResult withInstanceTypeDetails(InstanceTypeDetails... instanceTypeDetails)
Lists all supported instance types and features for the given OpenSearch or Elasticsearch version.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceTypeDetails(java.util.Collection)
or withInstanceTypeDetails(java.util.Collection)
if you want to override the existing values.
instanceTypeDetails
- Lists all supported instance types and features for the given OpenSearch or Elasticsearch version.public ListInstanceTypeDetailsResult withInstanceTypeDetails(Collection<InstanceTypeDetails> instanceTypeDetails)
Lists all supported instance types and features for the given OpenSearch or Elasticsearch version.
instanceTypeDetails
- Lists all supported instance types and features for the given OpenSearch or Elasticsearch version.public void setNextToken(String nextToken)
When nextToken
is returned, there are more results available. The value of nextToken
is
a unique pagination token for each page. Send the request again using the returned token to retrieve the next
page.
nextToken
- When nextToken
is returned, there are more results available. The value of
nextToken
is a unique pagination token for each page. Send the request again using the
returned token to retrieve the next page.public String getNextToken()
When nextToken
is returned, there are more results available. The value of nextToken
is
a unique pagination token for each page. Send the request again using the returned token to retrieve the next
page.
nextToken
is returned, there are more results available. The value of
nextToken
is a unique pagination token for each page. Send the request again using the
returned token to retrieve the next page.public ListInstanceTypeDetailsResult withNextToken(String nextToken)
When nextToken
is returned, there are more results available. The value of nextToken
is
a unique pagination token for each page. Send the request again using the returned token to retrieve the next
page.
nextToken
- When nextToken
is returned, there are more results available. The value of
nextToken
is a unique pagination token for each page. Send the request again using the
returned token to retrieve the next page.public String toString()
toString
in class Object
Object.toString()
public ListInstanceTypeDetailsResult clone()