@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecommendationSummary extends Object implements Serializable, Cloneable, StructuredPojo
A summary of a recommendation.
Constructor and Description |
---|
RecommendationSummary() |
Modifier and Type | Method and Description |
---|---|
RecommendationSummary |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account ID of the recommendation summary.
|
CurrentPerformanceRiskRatings |
getCurrentPerformanceRiskRatings()
An object that describes the performance risk ratings for a given resource type.
|
String |
getRecommendationResourceType()
The resource type that the recommendation summary applies to.
|
SavingsOpportunity |
getSavingsOpportunity()
An object that describes the savings opportunity for a given resource type.
|
List<Summary> |
getSummaries()
An array of objects that describe a recommendation summary.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The Amazon Web Services account ID of the recommendation summary.
|
void |
setCurrentPerformanceRiskRatings(CurrentPerformanceRiskRatings currentPerformanceRiskRatings)
An object that describes the performance risk ratings for a given resource type.
|
void |
setRecommendationResourceType(String recommendationResourceType)
The resource type that the recommendation summary applies to.
|
void |
setSavingsOpportunity(SavingsOpportunity savingsOpportunity)
An object that describes the savings opportunity for a given resource type.
|
void |
setSummaries(Collection<Summary> summaries)
An array of objects that describe a recommendation summary.
|
String |
toString()
Returns a string representation of this object.
|
RecommendationSummary |
withAccountId(String accountId)
The Amazon Web Services account ID of the recommendation summary.
|
RecommendationSummary |
withCurrentPerformanceRiskRatings(CurrentPerformanceRiskRatings currentPerformanceRiskRatings)
An object that describes the performance risk ratings for a given resource type.
|
RecommendationSummary |
withRecommendationResourceType(RecommendationSourceType recommendationResourceType)
The resource type that the recommendation summary applies to.
|
RecommendationSummary |
withRecommendationResourceType(String recommendationResourceType)
The resource type that the recommendation summary applies to.
|
RecommendationSummary |
withSavingsOpportunity(SavingsOpportunity savingsOpportunity)
An object that describes the savings opportunity for a given resource type.
|
RecommendationSummary |
withSummaries(Collection<Summary> summaries)
An array of objects that describe a recommendation summary.
|
RecommendationSummary |
withSummaries(Summary... summaries)
An array of objects that describe a recommendation summary.
|
public List<Summary> getSummaries()
An array of objects that describe a recommendation summary.
public void setSummaries(Collection<Summary> summaries)
An array of objects that describe a recommendation summary.
summaries
- An array of objects that describe a recommendation summary.public RecommendationSummary withSummaries(Summary... summaries)
An array of objects that describe a recommendation summary.
NOTE: This method appends the values to the existing list (if any). Use
setSummaries(java.util.Collection)
or withSummaries(java.util.Collection)
if you want to
override the existing values.
summaries
- An array of objects that describe a recommendation summary.public RecommendationSummary withSummaries(Collection<Summary> summaries)
An array of objects that describe a recommendation summary.
summaries
- An array of objects that describe a recommendation summary.public void setRecommendationResourceType(String recommendationResourceType)
The resource type that the recommendation summary applies to.
recommendationResourceType
- The resource type that the recommendation summary applies to.RecommendationSourceType
public String getRecommendationResourceType()
The resource type that the recommendation summary applies to.
RecommendationSourceType
public RecommendationSummary withRecommendationResourceType(String recommendationResourceType)
The resource type that the recommendation summary applies to.
recommendationResourceType
- The resource type that the recommendation summary applies to.RecommendationSourceType
public RecommendationSummary withRecommendationResourceType(RecommendationSourceType recommendationResourceType)
The resource type that the recommendation summary applies to.
recommendationResourceType
- The resource type that the recommendation summary applies to.RecommendationSourceType
public void setAccountId(String accountId)
The Amazon Web Services account ID of the recommendation summary.
accountId
- The Amazon Web Services account ID of the recommendation summary.public String getAccountId()
The Amazon Web Services account ID of the recommendation summary.
public RecommendationSummary withAccountId(String accountId)
The Amazon Web Services account ID of the recommendation summary.
accountId
- The Amazon Web Services account ID of the recommendation summary.public void setSavingsOpportunity(SavingsOpportunity savingsOpportunity)
An object that describes the savings opportunity for a given resource type. Savings opportunity includes the estimated monthly savings amount and percentage.
savingsOpportunity
- An object that describes the savings opportunity for a given resource type. Savings opportunity includes
the estimated monthly savings amount and percentage.public SavingsOpportunity getSavingsOpportunity()
An object that describes the savings opportunity for a given resource type. Savings opportunity includes the estimated monthly savings amount and percentage.
public RecommendationSummary withSavingsOpportunity(SavingsOpportunity savingsOpportunity)
An object that describes the savings opportunity for a given resource type. Savings opportunity includes the estimated monthly savings amount and percentage.
savingsOpportunity
- An object that describes the savings opportunity for a given resource type. Savings opportunity includes
the estimated monthly savings amount and percentage.public void setCurrentPerformanceRiskRatings(CurrentPerformanceRiskRatings currentPerformanceRiskRatings)
An object that describes the performance risk ratings for a given resource type.
currentPerformanceRiskRatings
- An object that describes the performance risk ratings for a given resource type.public CurrentPerformanceRiskRatings getCurrentPerformanceRiskRatings()
An object that describes the performance risk ratings for a given resource type.
public RecommendationSummary withCurrentPerformanceRiskRatings(CurrentPerformanceRiskRatings currentPerformanceRiskRatings)
An object that describes the performance risk ratings for a given resource type.
currentPerformanceRiskRatings
- An object that describes the performance risk ratings for a given resource type.public String toString()
toString
in class Object
Object.toString()
public RecommendationSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.