@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeReservedInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Container for parameters to DescribeReservedInstances
NOOP
Constructor and Description |
---|
DescribeReservedInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeReservedInstancesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
Set this value to limit the number of results returned.
|
String |
getNextToken()
Provides an identifier to allow retrieval of paginated results.
|
String |
getReservedInstanceId()
The reserved instance identifier filter value.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
Set this value to limit the number of results returned.
|
void |
setNextToken(String nextToken)
Provides an identifier to allow retrieval of paginated results.
|
void |
setReservedInstanceId(String reservedInstanceId)
The reserved instance identifier filter value.
|
String |
toString()
Returns a string representation of this object.
|
DescribeReservedInstancesRequest |
withMaxResults(Integer maxResults)
Set this value to limit the number of results returned.
|
DescribeReservedInstancesRequest |
withNextToken(String nextToken)
Provides an identifier to allow retrieval of paginated results.
|
DescribeReservedInstancesRequest |
withReservedInstanceId(String reservedInstanceId)
The reserved instance identifier filter value.
|
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 void setReservedInstanceId(String reservedInstanceId)
The reserved instance identifier filter value. Use this parameter to show only the reservation that matches the specified reserved OpenSearch instance ID.
reservedInstanceId
- The reserved instance identifier filter value. Use this parameter to show only the reservation that
matches the specified reserved OpenSearch instance ID.public String getReservedInstanceId()
The reserved instance identifier filter value. Use this parameter to show only the reservation that matches the specified reserved OpenSearch instance ID.
public DescribeReservedInstancesRequest withReservedInstanceId(String reservedInstanceId)
The reserved instance identifier filter value. Use this parameter to show only the reservation that matches the specified reserved OpenSearch instance ID.
reservedInstanceId
- The reserved instance identifier filter value. Use this parameter to show only the reservation that
matches the specified reserved OpenSearch instance ID.public void setMaxResults(Integer maxResults)
Set this value to limit the number of results returned. If not specified, defaults to 100.
maxResults
- Set this value to limit the number of results returned. If not specified, defaults to 100.public Integer getMaxResults()
Set this value to limit the number of results returned. If not specified, defaults to 100.
public DescribeReservedInstancesRequest withMaxResults(Integer maxResults)
Set this value to limit the number of results returned. If not specified, defaults to 100.
maxResults
- Set this value to limit the number of results returned. If not specified, defaults to 100.public void setNextToken(String nextToken)
Provides an identifier to allow retrieval of paginated results.
nextToken
- Provides an identifier to allow retrieval of paginated results.public String getNextToken()
Provides an identifier to allow retrieval of paginated results.
public DescribeReservedInstancesRequest withNextToken(String nextToken)
Provides an identifier to allow retrieval of paginated results.
nextToken
- Provides an identifier to allow retrieval of paginated results.public String toString()
toString
in class Object
Object.toString()
public DescribeReservedInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()