@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeCapacityBlockOfferingsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeCapacityBlockOfferingsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeCapacityBlockOfferingsResult |
clone() |
boolean |
equals(Object obj) |
List<CapacityBlockOffering> |
getCapacityBlockOfferings()
The recommended Capacity Block offering for the dates specified.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setCapacityBlockOfferings(Collection<CapacityBlockOffering> capacityBlockOfferings)
The recommended Capacity Block offering for the dates specified.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeCapacityBlockOfferingsResult |
withCapacityBlockOfferings(CapacityBlockOffering... capacityBlockOfferings)
The recommended Capacity Block offering for the dates specified.
|
DescribeCapacityBlockOfferingsResult |
withCapacityBlockOfferings(Collection<CapacityBlockOffering> capacityBlockOfferings)
The recommended Capacity Block offering for the dates specified.
|
DescribeCapacityBlockOfferingsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeCapacityBlockOfferingsResult()
public List<CapacityBlockOffering> getCapacityBlockOfferings()
The recommended Capacity Block offering for the dates specified.
public void setCapacityBlockOfferings(Collection<CapacityBlockOffering> capacityBlockOfferings)
The recommended Capacity Block offering for the dates specified.
capacityBlockOfferings
- The recommended Capacity Block offering for the dates specified.public DescribeCapacityBlockOfferingsResult withCapacityBlockOfferings(CapacityBlockOffering... capacityBlockOfferings)
The recommended Capacity Block offering for the dates specified.
NOTE: This method appends the values to the existing list (if any). Use
setCapacityBlockOfferings(java.util.Collection)
or
withCapacityBlockOfferings(java.util.Collection)
if you want to override the existing values.
capacityBlockOfferings
- The recommended Capacity Block offering for the dates specified.public DescribeCapacityBlockOfferingsResult withCapacityBlockOfferings(Collection<CapacityBlockOffering> capacityBlockOfferings)
The recommended Capacity Block offering for the dates specified.
capacityBlockOfferings
- The recommended Capacity Block offering for the dates specified.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 DescribeCapacityBlockOfferingsResult 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 DescribeCapacityBlockOfferingsResult clone()