@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetGroupsForCapacityReservationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<GetGroupsForCapacityReservationRequest>
NOOP
Constructor and Description |
---|
GetGroupsForCapacityReservationRequest() |
Modifier and Type | Method and Description |
---|---|
GetGroupsForCapacityReservationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCapacityReservationId()
The ID of the Capacity Reservation.
|
Request<GetGroupsForCapacityReservationRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
Integer |
getMaxResults()
The maximum number of results to return for the request in a single page.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setCapacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single page.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
GetGroupsForCapacityReservationRequest |
withCapacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation.
|
GetGroupsForCapacityReservationRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single page.
|
GetGroupsForCapacityReservationRequest |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public GetGroupsForCapacityReservationRequest()
public void setCapacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation.
capacityReservationId
- The ID of the Capacity Reservation.public String getCapacityReservationId()
The ID of the Capacity Reservation.
public GetGroupsForCapacityReservationRequest withCapacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation.
capacityReservationId
- The ID of the Capacity Reservation.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public String getNextToken()
The token to use to retrieve the next page of results.
public GetGroupsForCapacityReservationRequest withNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public void setMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single page. The remaining results can be seen by
sending another request with the returned nextToken
value. This value can be between 5 and 500. If
maxResults
is given a larger value than 500, you receive an error.
maxResults
- The maximum number of results to return for the request in a single page. The remaining results can be
seen by sending another request with the returned nextToken
value. This value can be between
5 and 500. If maxResults
is given a larger value than 500, you receive an error.public Integer getMaxResults()
The maximum number of results to return for the request in a single page. The remaining results can be seen by
sending another request with the returned nextToken
value. This value can be between 5 and 500. If
maxResults
is given a larger value than 500, you receive an error.
nextToken
value. This value can be between
5 and 500. If maxResults
is given a larger value than 500, you receive an error.public GetGroupsForCapacityReservationRequest withMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single page. The remaining results can be seen by
sending another request with the returned nextToken
value. This value can be between 5 and 500. If
maxResults
is given a larger value than 500, you receive an error.
maxResults
- The maximum number of results to return for the request in a single page. The remaining results can be
seen by sending another request with the returned nextToken
value. This value can be between
5 and 500. If maxResults
is given a larger value than 500, you receive an error.public Request<GetGroupsForCapacityReservationRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<GetGroupsForCapacityReservationRequest>
public String toString()
toString
in class Object
Object.toString()
public GetGroupsForCapacityReservationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()