@Generated(value="software.amazon.awssdk:codegen") public class DescribeReservedInstancesModificationsRequest extends EC2Request implements ToCopyableBuilder<DescribeReservedInstancesModificationsRequest.Builder,DescribeReservedInstancesModificationsRequest>
Contains the parameters for DescribeReservedInstancesModifications.
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeReservedInstancesModificationsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribeReservedInstancesModificationsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
List<Filter> |
filters()
One or more filters.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
nextToken()
The token to retrieve the next page of results.
|
List<String> |
reservedInstancesModificationIds()
IDs for the submitted modification request.
|
static Class<? extends DescribeReservedInstancesModificationsRequest.Builder> |
serializableBuilderClass() |
DescribeReservedInstancesModificationsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public List<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 is fulfilled
.
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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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 is
fulfilled
.
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.
public List<String> reservedInstancesModificationIds()
IDs for the submitted modification request.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String nextToken()
The token to retrieve the next page of results.
public DescribeReservedInstancesModificationsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeReservedInstancesModificationsRequest.Builder,DescribeReservedInstancesModificationsRequest>
toBuilder
in class EC2Request
public static DescribeReservedInstancesModificationsRequest.Builder builder()
public static Class<? extends DescribeReservedInstancesModificationsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.