Package com.amazonaws.services.ec2.model
Class CreateReservedInstancesListingResult
java.lang.Object
com.amazonaws.services.ec2.model.CreateReservedInstancesListingResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output of CreateReservedInstancesListing.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Information about the Reserved Instance listing.int
hashCode()
void
setReservedInstancesListings
(Collection<ReservedInstancesListing> reservedInstancesListings) Information about the Reserved Instance listing.toString()
Returns a string representation of this object; useful for testing and debugging.withReservedInstancesListings
(ReservedInstancesListing... reservedInstancesListings) Information about the Reserved Instance listing.withReservedInstancesListings
(Collection<ReservedInstancesListing> reservedInstancesListings) Information about the Reserved Instance listing.
-
Constructor Details
-
CreateReservedInstancesListingResult
public CreateReservedInstancesListingResult()
-
-
Method Details
-
getReservedInstancesListings
Information about the Reserved Instance listing.
- Returns:
- Information about the Reserved Instance listing.
-
setReservedInstancesListings
public void setReservedInstancesListings(Collection<ReservedInstancesListing> reservedInstancesListings) Information about the Reserved Instance listing.
- Parameters:
reservedInstancesListings
- Information about the Reserved Instance listing.
-
withReservedInstancesListings
public CreateReservedInstancesListingResult withReservedInstancesListings(ReservedInstancesListing... reservedInstancesListings) Information about the Reserved Instance listing.
NOTE: This method appends the values to the existing list (if any). Use
setReservedInstancesListings(java.util.Collection)
orwithReservedInstancesListings(java.util.Collection)
if you want to override the existing values.- Parameters:
reservedInstancesListings
- Information about the Reserved Instance listing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withReservedInstancesListings
public CreateReservedInstancesListingResult withReservedInstancesListings(Collection<ReservedInstancesListing> reservedInstancesListings) Information about the Reserved Instance listing.
- Parameters:
reservedInstancesListings
- Information about the Reserved Instance listing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-