@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeHostReservationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeHostReservationsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeHostReservationsResult |
clone() |
boolean |
equals(Object obj) |
List<HostReservation> |
getHostReservationSet()
Details about the reservation's configuration.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setHostReservationSet(Collection<HostReservation> hostReservationSet)
Details about the reservation's configuration.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeHostReservationsResult |
withHostReservationSet(Collection<HostReservation> hostReservationSet)
Details about the reservation's configuration.
|
DescribeHostReservationsResult |
withHostReservationSet(HostReservation... hostReservationSet)
Details about the reservation's configuration.
|
DescribeHostReservationsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<HostReservation> getHostReservationSet()
Details about the reservation's configuration.
public void setHostReservationSet(Collection<HostReservation> hostReservationSet)
Details about the reservation's configuration.
hostReservationSet
- Details about the reservation's configuration.public DescribeHostReservationsResult withHostReservationSet(HostReservation... hostReservationSet)
Details about the reservation's configuration.
NOTE: This method appends the values to the existing list (if any). Use
setHostReservationSet(java.util.Collection)
or withHostReservationSet(java.util.Collection)
if
you want to override the existing values.
hostReservationSet
- Details about the reservation's configuration.public DescribeHostReservationsResult withHostReservationSet(Collection<HostReservation> hostReservationSet)
Details about the reservation's configuration.
hostReservationSet
- Details about the reservation's configuration.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 DescribeHostReservationsResult 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 DescribeHostReservationsResult clone()