@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 in the location.
|
String |
getNextToken()
The token to include in another request to get the next page of items.
|
int |
hashCode() |
void |
setInstanceTypeOfferings(Collection<InstanceTypeOffering> instanceTypeOfferings)
The instance types offered in the location.
|
void |
setNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
String |
toString()
Returns a string representation of this object.
|
DescribeInstanceTypeOfferingsResult |
withInstanceTypeOfferings(Collection<InstanceTypeOffering> instanceTypeOfferings)
The instance types offered in the location.
|
DescribeInstanceTypeOfferingsResult |
withInstanceTypeOfferings(InstanceTypeOffering... instanceTypeOfferings)
The instance types offered in the location.
|
DescribeInstanceTypeOfferingsResult |
withNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<InstanceTypeOffering> getInstanceTypeOfferings()
The instance types offered in the location.
public void setInstanceTypeOfferings(Collection<InstanceTypeOffering> instanceTypeOfferings)
The instance types offered in the location.
instanceTypeOfferings
- The instance types offered in the location.public DescribeInstanceTypeOfferingsResult withInstanceTypeOfferings(InstanceTypeOffering... instanceTypeOfferings)
The instance types offered in the location.
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 in the location.public DescribeInstanceTypeOfferingsResult withInstanceTypeOfferings(Collection<InstanceTypeOffering> instanceTypeOfferings)
The instance types offered in the location.
instanceTypeOfferings
- The instance types offered in the location.public void setNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String getNextToken()
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
null
when there are no more items to return.public DescribeInstanceTypeOfferingsResult withNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String toString()
toString
in class Object
Object.toString()
public DescribeInstanceTypeOfferingsResult clone()