@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeReservedInstanceOfferingsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Container for results from DescribeReservedInstanceOfferings
Constructor and Description |
---|
DescribeReservedInstanceOfferingsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeReservedInstanceOfferingsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
Provides an identifier to allow retrieval of paginated results.
|
List<ReservedInstanceOffering> |
getReservedInstanceOfferings()
List of reserved OpenSearch instance offerings
|
int |
hashCode() |
void |
setNextToken(String nextToken)
Provides an identifier to allow retrieval of paginated results.
|
void |
setReservedInstanceOfferings(Collection<ReservedInstanceOffering> reservedInstanceOfferings)
List of reserved OpenSearch instance offerings
|
String |
toString()
Returns a string representation of this object.
|
DescribeReservedInstanceOfferingsResult |
withNextToken(String nextToken)
Provides an identifier to allow retrieval of paginated results.
|
DescribeReservedInstanceOfferingsResult |
withReservedInstanceOfferings(Collection<ReservedInstanceOffering> reservedInstanceOfferings)
List of reserved OpenSearch instance offerings
|
DescribeReservedInstanceOfferingsResult |
withReservedInstanceOfferings(ReservedInstanceOffering... reservedInstanceOfferings)
List of reserved OpenSearch instance offerings
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeReservedInstanceOfferingsResult()
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 DescribeReservedInstanceOfferingsResult withNextToken(String nextToken)
Provides an identifier to allow retrieval of paginated results.
nextToken
- Provides an identifier to allow retrieval of paginated results.public List<ReservedInstanceOffering> getReservedInstanceOfferings()
List of reserved OpenSearch instance offerings
public void setReservedInstanceOfferings(Collection<ReservedInstanceOffering> reservedInstanceOfferings)
List of reserved OpenSearch instance offerings
reservedInstanceOfferings
- List of reserved OpenSearch instance offeringspublic DescribeReservedInstanceOfferingsResult withReservedInstanceOfferings(ReservedInstanceOffering... reservedInstanceOfferings)
List of reserved OpenSearch instance offerings
NOTE: This method appends the values to the existing list (if any). Use
setReservedInstanceOfferings(java.util.Collection)
or
withReservedInstanceOfferings(java.util.Collection)
if you want to override the existing values.
reservedInstanceOfferings
- List of reserved OpenSearch instance offeringspublic DescribeReservedInstanceOfferingsResult withReservedInstanceOfferings(Collection<ReservedInstanceOffering> reservedInstanceOfferings)
List of reserved OpenSearch instance offerings
reservedInstanceOfferings
- List of reserved OpenSearch instance offeringspublic String toString()
toString
in class Object
Object.toString()
public DescribeReservedInstanceOfferingsResult clone()
Copyright © 2022. All rights reserved.