@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInstanceCreditSpecificationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeInstanceCreditSpecificationsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeInstanceCreditSpecificationsResult |
clone() |
boolean |
equals(Object obj) |
List<InstanceCreditSpecification> |
getInstanceCreditSpecifications()
Information about the credit option for CPU usage of an instance.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setInstanceCreditSpecifications(Collection<InstanceCreditSpecification> instanceCreditSpecifications)
Information about the credit option for CPU usage of an instance.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeInstanceCreditSpecificationsResult |
withInstanceCreditSpecifications(Collection<InstanceCreditSpecification> instanceCreditSpecifications)
Information about the credit option for CPU usage of an instance.
|
DescribeInstanceCreditSpecificationsResult |
withInstanceCreditSpecifications(InstanceCreditSpecification... instanceCreditSpecifications)
Information about the credit option for CPU usage of an instance.
|
DescribeInstanceCreditSpecificationsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeInstanceCreditSpecificationsResult()
public List<InstanceCreditSpecification> getInstanceCreditSpecifications()
Information about the credit option for CPU usage of an instance.
public void setInstanceCreditSpecifications(Collection<InstanceCreditSpecification> instanceCreditSpecifications)
Information about the credit option for CPU usage of an instance.
instanceCreditSpecifications
- Information about the credit option for CPU usage of an instance.public DescribeInstanceCreditSpecificationsResult withInstanceCreditSpecifications(InstanceCreditSpecification... instanceCreditSpecifications)
Information about the credit option for CPU usage of an instance.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceCreditSpecifications(java.util.Collection)
or
withInstanceCreditSpecifications(java.util.Collection)
if you want to override the existing values.
instanceCreditSpecifications
- Information about the credit option for CPU usage of an instance.public DescribeInstanceCreditSpecificationsResult withInstanceCreditSpecifications(Collection<InstanceCreditSpecification> instanceCreditSpecifications)
Information about the credit option for CPU usage of an instance.
instanceCreditSpecifications
- Information about the credit option for CPU usage of an instance.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 DescribeInstanceCreditSpecificationsResult 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 DescribeInstanceCreditSpecificationsResult clone()
Copyright © 2018. All rights reserved.