Class DescribeReservedInstancesModificationsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.ec2.model.DescribeReservedInstancesModificationsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<DescribeReservedInstancesModificationsRequest>
,Serializable
,Cloneable
public class DescribeReservedInstancesModificationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeReservedInstancesModificationsRequest>
Contains the parameters for DescribeReservedInstancesModifications.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeReservedInstancesModificationsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeReservedInstancesModificationsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
Request<DescribeReservedInstancesModificationsRequest>
getDryRunRequest()
This method is intended for internal use only.List<Filter>
getFilters()
One or more filters.String
getNextToken()
The token to retrieve the next page of results.List<String>
getReservedInstancesModificationIds()
IDs for the submitted modification request.int
hashCode()
void
setFilters(Collection<Filter> filters)
One or more filters.void
setNextToken(String nextToken)
The token to retrieve the next page of results.void
setReservedInstancesModificationIds(Collection<String> reservedInstancesModificationIds)
IDs for the submitted modification request.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeReservedInstancesModificationsRequest
withFilters(Filter... filters)
One or more filters.DescribeReservedInstancesModificationsRequest
withFilters(Collection<Filter> filters)
One or more filters.DescribeReservedInstancesModificationsRequest
withNextToken(String nextToken)
The token to retrieve the next page of results.DescribeReservedInstancesModificationsRequest
withReservedInstancesModificationIds(String... reservedInstancesModificationIds)
IDs for the submitted modification request.DescribeReservedInstancesModificationsRequest
withReservedInstancesModificationIds(Collection<String> reservedInstancesModificationIds)
IDs for the submitted modification request.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
getReservedInstancesModificationIds
public List<String> getReservedInstancesModificationIds()
IDs for the submitted modification request.
- Returns:
- IDs for the submitted modification request.
-
setReservedInstancesModificationIds
public void setReservedInstancesModificationIds(Collection<String> reservedInstancesModificationIds)
IDs for the submitted modification request.
- Parameters:
reservedInstancesModificationIds
- IDs for the submitted modification request.
-
withReservedInstancesModificationIds
public DescribeReservedInstancesModificationsRequest withReservedInstancesModificationIds(String... reservedInstancesModificationIds)
IDs for the submitted modification request.
NOTE: This method appends the values to the existing list (if any). Use
setReservedInstancesModificationIds(java.util.Collection)
orwithReservedInstancesModificationIds(java.util.Collection)
if you want to override the existing values.- Parameters:
reservedInstancesModificationIds
- IDs for the submitted modification request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withReservedInstancesModificationIds
public DescribeReservedInstancesModificationsRequest withReservedInstancesModificationIds(Collection<String> reservedInstancesModificationIds)
IDs for the submitted modification request.
- Parameters:
reservedInstancesModificationIds
- IDs for the submitted modification request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The token to retrieve the next page of results.
- Parameters:
nextToken
- The token to retrieve the next page of results.
-
getNextToken
public String getNextToken()
The token to retrieve the next page of results.
- Returns:
- The token to retrieve the next page of results.
-
withNextToken
public DescribeReservedInstancesModificationsRequest withNextToken(String nextToken)
The token to retrieve the next page of results.
- Parameters:
nextToken
- The token to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getFilters
public List<Filter> getFilters()
One or more filters.
-
client-token
- The idempotency token for the modification request. -
create-date
- The time when the modification request was created. -
effective-date
- The time when the modification becomes effective. -
modification-result.reserved-instances-id
- The ID for the Reserved Instances created as part of the modification request. This ID is only available when the status of the modification isfulfilled
. -
modification-result.target-configuration.availability-zone
- The Availability Zone for the new Reserved Instances. -
modification-result.target-configuration.instance-count
- The number of new Reserved Instances. -
modification-result.target-configuration.instance-type
- The instance type of the new Reserved Instances. -
modification-result.target-configuration.platform
- The network platform of the new Reserved Instances (EC2-Classic
|EC2-VPC
). -
reserved-instances-id
- The ID of the Reserved Instances modified. -
reserved-instances-modification-id
- The ID of the modification request. -
status
- The status of the Reserved Instances modification request (processing
|fulfilled
|failed
). -
status-message
- The reason for the status. -
update-date
- The time when the modification request was last updated.
- Returns:
- One or more filters.
-
client-token
- The idempotency token for the modification request. -
create-date
- The time when the modification request was created. -
effective-date
- The time when the modification becomes effective. -
modification-result.reserved-instances-id
- The ID for the Reserved Instances created as part of the modification request. This ID is only available when the status of the modification isfulfilled
. -
modification-result.target-configuration.availability-zone
- The Availability Zone for the new Reserved Instances. -
modification-result.target-configuration.instance-count
- The number of new Reserved Instances. -
modification-result.target-configuration.instance-type
- The instance type of the new Reserved Instances. -
modification-result.target-configuration.platform
- The network platform of the new Reserved Instances (EC2-Classic
|EC2-VPC
). -
reserved-instances-id
- The ID of the Reserved Instances modified. -
reserved-instances-modification-id
- The ID of the modification request. -
status
- The status of the Reserved Instances modification request (processing
|fulfilled
|failed
). -
status-message
- The reason for the status. -
update-date
- The time when the modification request was last updated.
-
-
-
setFilters
public void setFilters(Collection<Filter> filters)
One or more filters.
-
client-token
- The idempotency token for the modification request. -
create-date
- The time when the modification request was created. -
effective-date
- The time when the modification becomes effective. -
modification-result.reserved-instances-id
- The ID for the Reserved Instances created as part of the modification request. This ID is only available when the status of the modification isfulfilled
. -
modification-result.target-configuration.availability-zone
- The Availability Zone for the new Reserved Instances. -
modification-result.target-configuration.instance-count
- The number of new Reserved Instances. -
modification-result.target-configuration.instance-type
- The instance type of the new Reserved Instances. -
modification-result.target-configuration.platform
- The network platform of the new Reserved Instances (EC2-Classic
|EC2-VPC
). -
reserved-instances-id
- The ID of the Reserved Instances modified. -
reserved-instances-modification-id
- The ID of the modification request. -
status
- The status of the Reserved Instances modification request (processing
|fulfilled
|failed
). -
status-message
- The reason for the status. -
update-date
- The time when the modification request was last updated.
- Parameters:
filters
- One or more filters.-
client-token
- The idempotency token for the modification request. -
create-date
- The time when the modification request was created. -
effective-date
- The time when the modification becomes effective. -
modification-result.reserved-instances-id
- The ID for the Reserved Instances created as part of the modification request. This ID is only available when the status of the modification isfulfilled
. -
modification-result.target-configuration.availability-zone
- The Availability Zone for the new Reserved Instances. -
modification-result.target-configuration.instance-count
- The number of new Reserved Instances. -
modification-result.target-configuration.instance-type
- The instance type of the new Reserved Instances. -
modification-result.target-configuration.platform
- The network platform of the new Reserved Instances (EC2-Classic
|EC2-VPC
). -
reserved-instances-id
- The ID of the Reserved Instances modified. -
reserved-instances-modification-id
- The ID of the modification request. -
status
- The status of the Reserved Instances modification request (processing
|fulfilled
|failed
). -
status-message
- The reason for the status. -
update-date
- The time when the modification request was last updated.
-
-
-
withFilters
public DescribeReservedInstancesModificationsRequest withFilters(Filter... filters)
One or more filters.
-
client-token
- The idempotency token for the modification request. -
create-date
- The time when the modification request was created. -
effective-date
- The time when the modification becomes effective. -
modification-result.reserved-instances-id
- The ID for the Reserved Instances created as part of the modification request. This ID is only available when the status of the modification isfulfilled
. -
modification-result.target-configuration.availability-zone
- The Availability Zone for the new Reserved Instances. -
modification-result.target-configuration.instance-count
- The number of new Reserved Instances. -
modification-result.target-configuration.instance-type
- The instance type of the new Reserved Instances. -
modification-result.target-configuration.platform
- The network platform of the new Reserved Instances (EC2-Classic
|EC2-VPC
). -
reserved-instances-id
- The ID of the Reserved Instances modified. -
reserved-instances-modification-id
- The ID of the modification request. -
status
- The status of the Reserved Instances modification request (processing
|fulfilled
|failed
). -
status-message
- The reason for the status. -
update-date
- The time when the modification request was last updated.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
orwithFilters(java.util.Collection)
if you want to override the existing values.- Parameters:
filters
- One or more filters.-
client-token
- The idempotency token for the modification request. -
create-date
- The time when the modification request was created. -
effective-date
- The time when the modification becomes effective. -
modification-result.reserved-instances-id
- The ID for the Reserved Instances created as part of the modification request. This ID is only available when the status of the modification isfulfilled
. -
modification-result.target-configuration.availability-zone
- The Availability Zone for the new Reserved Instances. -
modification-result.target-configuration.instance-count
- The number of new Reserved Instances. -
modification-result.target-configuration.instance-type
- The instance type of the new Reserved Instances. -
modification-result.target-configuration.platform
- The network platform of the new Reserved Instances (EC2-Classic
|EC2-VPC
). -
reserved-instances-id
- The ID of the Reserved Instances modified. -
reserved-instances-modification-id
- The ID of the modification request. -
status
- The status of the Reserved Instances modification request (processing
|fulfilled
|failed
). -
status-message
- The reason for the status. -
update-date
- The time when the modification request was last updated.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
withFilters
public DescribeReservedInstancesModificationsRequest withFilters(Collection<Filter> filters)
One or more filters.
-
client-token
- The idempotency token for the modification request. -
create-date
- The time when the modification request was created. -
effective-date
- The time when the modification becomes effective. -
modification-result.reserved-instances-id
- The ID for the Reserved Instances created as part of the modification request. This ID is only available when the status of the modification isfulfilled
. -
modification-result.target-configuration.availability-zone
- The Availability Zone for the new Reserved Instances. -
modification-result.target-configuration.instance-count
- The number of new Reserved Instances. -
modification-result.target-configuration.instance-type
- The instance type of the new Reserved Instances. -
modification-result.target-configuration.platform
- The network platform of the new Reserved Instances (EC2-Classic
|EC2-VPC
). -
reserved-instances-id
- The ID of the Reserved Instances modified. -
reserved-instances-modification-id
- The ID of the modification request. -
status
- The status of the Reserved Instances modification request (processing
|fulfilled
|failed
). -
status-message
- The reason for the status. -
update-date
- The time when the modification request was last updated.
- Parameters:
filters
- One or more filters.-
client-token
- The idempotency token for the modification request. -
create-date
- The time when the modification request was created. -
effective-date
- The time when the modification becomes effective. -
modification-result.reserved-instances-id
- The ID for the Reserved Instances created as part of the modification request. This ID is only available when the status of the modification isfulfilled
. -
modification-result.target-configuration.availability-zone
- The Availability Zone for the new Reserved Instances. -
modification-result.target-configuration.instance-count
- The number of new Reserved Instances. -
modification-result.target-configuration.instance-type
- The instance type of the new Reserved Instances. -
modification-result.target-configuration.platform
- The network platform of the new Reserved Instances (EC2-Classic
|EC2-VPC
). -
reserved-instances-id
- The ID of the Reserved Instances modified. -
reserved-instances-modification-id
- The ID of the modification request. -
status
- The status of the Reserved Instances modification request (processing
|fulfilled
|failed
). -
status-message
- The reason for the status. -
update-date
- The time when the modification request was last updated.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
getDryRunRequest
public Request<DescribeReservedInstancesModificationsRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<DescribeReservedInstancesModificationsRequest>
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeReservedInstancesModificationsRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-