@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateReservedInstancesListingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of CreateReservedInstancesListing.
Constructor and Description |
---|
CreateReservedInstancesListingResult() |
Modifier and Type | Method and Description |
---|---|
CreateReservedInstancesListingResult |
clone() |
boolean |
equals(Object obj) |
List<ReservedInstancesListing> |
getReservedInstancesListings()
Information about the Standard Reserved Instance listing.
|
int |
hashCode() |
void |
setReservedInstancesListings(Collection<ReservedInstancesListing> reservedInstancesListings)
Information about the Standard Reserved Instance listing.
|
String |
toString()
Returns a string representation of this object.
|
CreateReservedInstancesListingResult |
withReservedInstancesListings(Collection<ReservedInstancesListing> reservedInstancesListings)
Information about the Standard Reserved Instance listing.
|
CreateReservedInstancesListingResult |
withReservedInstancesListings(ReservedInstancesListing... reservedInstancesListings)
Information about the Standard Reserved Instance listing.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public CreateReservedInstancesListingResult()
public List<ReservedInstancesListing> getReservedInstancesListings()
Information about the Standard Reserved Instance listing.
public void setReservedInstancesListings(Collection<ReservedInstancesListing> reservedInstancesListings)
Information about the Standard Reserved Instance listing.
reservedInstancesListings
- Information about the Standard Reserved Instance listing.public CreateReservedInstancesListingResult withReservedInstancesListings(ReservedInstancesListing... reservedInstancesListings)
Information about the Standard Reserved Instance listing.
NOTE: This method appends the values to the existing list (if any). Use
setReservedInstancesListings(java.util.Collection)
or
withReservedInstancesListings(java.util.Collection)
if you want to override the existing values.
reservedInstancesListings
- Information about the Standard Reserved Instance listing.public CreateReservedInstancesListingResult withReservedInstancesListings(Collection<ReservedInstancesListing> reservedInstancesListings)
Information about the Standard Reserved Instance listing.
reservedInstancesListings
- Information about the Standard Reserved Instance listing.public String toString()
toString
in class Object
Object.toString()
public CreateReservedInstancesListingResult clone()