@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetGroupsForCapacityReservationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetGroupsForCapacityReservationResult() |
| Modifier and Type | Method and Description |
|---|---|
GetGroupsForCapacityReservationResult |
clone() |
boolean |
equals(Object obj) |
List<CapacityReservationGroup> |
getCapacityReservationGroups()
Information about the resource groups to which the Capacity Reservation has been added.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setCapacityReservationGroups(Collection<CapacityReservationGroup> capacityReservationGroups)
Information about the resource groups to which the Capacity Reservation has been added.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
GetGroupsForCapacityReservationResult |
withCapacityReservationGroups(CapacityReservationGroup... capacityReservationGroups)
Information about the resource groups to which the Capacity Reservation has been added.
|
GetGroupsForCapacityReservationResult |
withCapacityReservationGroups(Collection<CapacityReservationGroup> capacityReservationGroups)
Information about the resource groups to which the Capacity Reservation has been added.
|
GetGroupsForCapacityReservationResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic GetGroupsForCapacityReservationResult()
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 GetGroupsForCapacityReservationResult 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 List<CapacityReservationGroup> getCapacityReservationGroups()
Information about the resource groups to which the Capacity Reservation has been added.
public void setCapacityReservationGroups(Collection<CapacityReservationGroup> capacityReservationGroups)
Information about the resource groups to which the Capacity Reservation has been added.
capacityReservationGroups - Information about the resource groups to which the Capacity Reservation has been added.public GetGroupsForCapacityReservationResult withCapacityReservationGroups(CapacityReservationGroup... capacityReservationGroups)
Information about the resource groups to which the Capacity Reservation has been added.
NOTE: This method appends the values to the existing list (if any). Use
setCapacityReservationGroups(java.util.Collection) or
withCapacityReservationGroups(java.util.Collection) if you want to override the existing values.
capacityReservationGroups - Information about the resource groups to which the Capacity Reservation has been added.public GetGroupsForCapacityReservationResult withCapacityReservationGroups(Collection<CapacityReservationGroup> capacityReservationGroups)
Information about the resource groups to which the Capacity Reservation has been added.
capacityReservationGroups - Information about the resource groups to which the Capacity Reservation has been added.public String toString()
toString in class ObjectObject.toString()public GetGroupsForCapacityReservationResult clone()