@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInstanceTypeOfferingsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeInstanceTypeOfferingsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeInstanceTypeOfferingsResult |
clone() |
boolean |
equals(Object obj) |
List<InstanceTypeOffering> |
getInstanceTypeOfferings()
The instance types offered.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setInstanceTypeOfferings(Collection<InstanceTypeOffering> instanceTypeOfferings)
The instance types offered.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeInstanceTypeOfferingsResult |
withInstanceTypeOfferings(Collection<InstanceTypeOffering> instanceTypeOfferings)
The instance types offered.
|
DescribeInstanceTypeOfferingsResult |
withInstanceTypeOfferings(InstanceTypeOffering... instanceTypeOfferings)
The instance types offered.
|
DescribeInstanceTypeOfferingsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<InstanceTypeOffering> getInstanceTypeOfferings()
The instance types offered.
public void setInstanceTypeOfferings(Collection<InstanceTypeOffering> instanceTypeOfferings)
The instance types offered.
instanceTypeOfferings
- The instance types offered.public DescribeInstanceTypeOfferingsResult withInstanceTypeOfferings(InstanceTypeOffering... instanceTypeOfferings)
The instance types offered.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceTypeOfferings(java.util.Collection)
or
withInstanceTypeOfferings(java.util.Collection)
if you want to override the existing values.
instanceTypeOfferings
- The instance types offered.public DescribeInstanceTypeOfferingsResult withInstanceTypeOfferings(Collection<InstanceTypeOffering> instanceTypeOfferings)
The instance types offered.
instanceTypeOfferings
- The instance types offered.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public DescribeInstanceTypeOfferingsResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String toString()
toString
in class Object
Object.toString()
public DescribeInstanceTypeOfferingsResult clone()