@Generated(value="software.amazon.awssdk:codegen") public final class DescribeReservedInstancesListingsRequest extends Ec2Request implements ToCopyableBuilder<DescribeReservedInstancesListingsRequest.Builder,DescribeReservedInstancesListingsRequest>
Contains the parameters for DescribeReservedInstancesListings.
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeReservedInstancesListingsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribeReservedInstancesListingsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<Filter> |
filters()
One or more filters.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFilters()
Returns true if the Filters property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
String |
reservedInstancesId()
One or more Reserved Instance IDs.
|
String |
reservedInstancesListingId()
One or more Reserved Instance listing IDs.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeReservedInstancesListingsRequest.Builder> |
serializableBuilderClass() |
DescribeReservedInstancesListingsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public boolean hasFilters()
public List<Filter> filters()
One or more filters.
reserved-instances-id
- The ID of the Reserved Instances.
reserved-instances-listing-id
- The ID of the Reserved Instances listing.
status
- The status of the Reserved Instance listing (pending
| active
|
cancelled
| closed
).
status-message
- The reason for the status.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFilters()
to see if a value was sent in this field.
reserved-instances-id
- The ID of the Reserved Instances.
reserved-instances-listing-id
- The ID of the Reserved Instances listing.
status
- The status of the Reserved Instance listing (pending
|
active
| cancelled
| closed
).
status-message
- The reason for the status.
public String reservedInstancesId()
One or more Reserved Instance IDs.
public String reservedInstancesListingId()
One or more Reserved Instance listing IDs.
public DescribeReservedInstancesListingsRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<DescribeReservedInstancesListingsRequest.Builder,DescribeReservedInstancesListingsRequest>
toBuilder
in class Ec2Request
public static DescribeReservedInstancesListingsRequest.Builder builder()
public static Class<? extends DescribeReservedInstancesListingsRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2020. All rights reserved.