@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetReservationPurchaseRecommendationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetReservationPurchaseRecommendationResult() |
Modifier and Type | Method and Description |
---|---|
GetReservationPurchaseRecommendationResult |
clone() |
boolean |
equals(Object obj) |
ReservationPurchaseRecommendationMetadata |
getMetadata()
Information about this specific recommendation call, such as the time stamp for when Cost Explorer generated this
recommendation.
|
String |
getNextPageToken()
The pagination token for the next set of retrievable results.
|
List<ReservationPurchaseRecommendation> |
getRecommendations()
Recommendations for reservations to purchase.
|
int |
hashCode() |
void |
setMetadata(ReservationPurchaseRecommendationMetadata metadata)
Information about this specific recommendation call, such as the time stamp for when Cost Explorer generated this
recommendation.
|
void |
setNextPageToken(String nextPageToken)
The pagination token for the next set of retrievable results.
|
void |
setRecommendations(Collection<ReservationPurchaseRecommendation> recommendations)
Recommendations for reservations to purchase.
|
String |
toString()
Returns a string representation of this object.
|
GetReservationPurchaseRecommendationResult |
withMetadata(ReservationPurchaseRecommendationMetadata metadata)
Information about this specific recommendation call, such as the time stamp for when Cost Explorer generated this
recommendation.
|
GetReservationPurchaseRecommendationResult |
withNextPageToken(String nextPageToken)
The pagination token for the next set of retrievable results.
|
GetReservationPurchaseRecommendationResult |
withRecommendations(Collection<ReservationPurchaseRecommendation> recommendations)
Recommendations for reservations to purchase.
|
GetReservationPurchaseRecommendationResult |
withRecommendations(ReservationPurchaseRecommendation... recommendations)
Recommendations for reservations to purchase.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public GetReservationPurchaseRecommendationResult()
public void setMetadata(ReservationPurchaseRecommendationMetadata metadata)
Information about this specific recommendation call, such as the time stamp for when Cost Explorer generated this recommendation.
metadata
- Information about this specific recommendation call, such as the time stamp for when Cost Explorer
generated this recommendation.public ReservationPurchaseRecommendationMetadata getMetadata()
Information about this specific recommendation call, such as the time stamp for when Cost Explorer generated this recommendation.
public GetReservationPurchaseRecommendationResult withMetadata(ReservationPurchaseRecommendationMetadata metadata)
Information about this specific recommendation call, such as the time stamp for when Cost Explorer generated this recommendation.
metadata
- Information about this specific recommendation call, such as the time stamp for when Cost Explorer
generated this recommendation.public List<ReservationPurchaseRecommendation> getRecommendations()
Recommendations for reservations to purchase.
public void setRecommendations(Collection<ReservationPurchaseRecommendation> recommendations)
Recommendations for reservations to purchase.
recommendations
- Recommendations for reservations to purchase.public GetReservationPurchaseRecommendationResult withRecommendations(ReservationPurchaseRecommendation... recommendations)
Recommendations for reservations to purchase.
NOTE: This method appends the values to the existing list (if any). Use
setRecommendations(java.util.Collection)
or withRecommendations(java.util.Collection)
if you
want to override the existing values.
recommendations
- Recommendations for reservations to purchase.public GetReservationPurchaseRecommendationResult withRecommendations(Collection<ReservationPurchaseRecommendation> recommendations)
Recommendations for reservations to purchase.
recommendations
- Recommendations for reservations to purchase.public void setNextPageToken(String nextPageToken)
The pagination token for the next set of retrievable results.
nextPageToken
- The pagination token for the next set of retrievable results.public String getNextPageToken()
The pagination token for the next set of retrievable results.
public GetReservationPurchaseRecommendationResult withNextPageToken(String nextPageToken)
The pagination token for the next set of retrievable results.
nextPageToken
- The pagination token for the next set of retrievable results.public String toString()
toString
in class Object
Object.toString()
public GetReservationPurchaseRecommendationResult clone()