@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecommendationSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary of Recommendation for an Account
| Constructor and Description |
|---|
RecommendationSummary() |
| Modifier and Type | Method and Description |
|---|---|
RecommendationSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the Recommendation
|
List<String> |
getAwsServices()
The AWS Services that the Recommendation applies to
|
String |
getCheckArn()
The AWS Trusted Advisor Check ARN that relates to the Recommendation
|
Date |
getCreatedAt()
When the Recommendation was created, if created by AWS Trusted Advisor Priority
|
String |
getId()
The ID which identifies where the Recommendation was produced
|
Date |
getLastUpdatedAt()
When the Recommendation was last updated
|
String |
getLifecycleStage()
The lifecycle stage from AWS Trusted Advisor Priority
|
String |
getName()
The name of the AWS Trusted Advisor Recommendation
|
List<String> |
getPillars()
The Pillars that the Recommendation is optimizing
|
RecommendationPillarSpecificAggregates |
getPillarSpecificAggregates()
The pillar aggregations for cost savings
|
RecommendationResourcesAggregates |
getResourcesAggregates()
An aggregation of all resources
|
String |
getSource()
The source of the Recommendation
|
String |
getStatus()
The status of the Recommendation
|
String |
getType()
Whether the Recommendation was automated or generated by AWS Trusted Advisor Priority
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setArn(String arn)
The ARN of the Recommendation
|
void |
setAwsServices(Collection<String> awsServices)
The AWS Services that the Recommendation applies to
|
void |
setCheckArn(String checkArn)
The AWS Trusted Advisor Check ARN that relates to the Recommendation
|
void |
setCreatedAt(Date createdAt)
When the Recommendation was created, if created by AWS Trusted Advisor Priority
|
void |
setId(String id)
The ID which identifies where the Recommendation was produced
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
When the Recommendation was last updated
|
void |
setLifecycleStage(String lifecycleStage)
The lifecycle stage from AWS Trusted Advisor Priority
|
void |
setName(String name)
The name of the AWS Trusted Advisor Recommendation
|
void |
setPillars(Collection<String> pillars)
The Pillars that the Recommendation is optimizing
|
void |
setPillarSpecificAggregates(RecommendationPillarSpecificAggregates pillarSpecificAggregates)
The pillar aggregations for cost savings
|
void |
setResourcesAggregates(RecommendationResourcesAggregates resourcesAggregates)
An aggregation of all resources
|
void |
setSource(String source)
The source of the Recommendation
|
void |
setStatus(String status)
The status of the Recommendation
|
void |
setType(String type)
Whether the Recommendation was automated or generated by AWS Trusted Advisor Priority
|
String |
toString()
Returns a string representation of this object.
|
RecommendationSummary |
withArn(String arn)
The ARN of the Recommendation
|
RecommendationSummary |
withAwsServices(Collection<String> awsServices)
The AWS Services that the Recommendation applies to
|
RecommendationSummary |
withAwsServices(String... awsServices)
The AWS Services that the Recommendation applies to
|
RecommendationSummary |
withCheckArn(String checkArn)
The AWS Trusted Advisor Check ARN that relates to the Recommendation
|
RecommendationSummary |
withCreatedAt(Date createdAt)
When the Recommendation was created, if created by AWS Trusted Advisor Priority
|
RecommendationSummary |
withId(String id)
The ID which identifies where the Recommendation was produced
|
RecommendationSummary |
withLastUpdatedAt(Date lastUpdatedAt)
When the Recommendation was last updated
|
RecommendationSummary |
withLifecycleStage(RecommendationLifecycleStage lifecycleStage)
The lifecycle stage from AWS Trusted Advisor Priority
|
RecommendationSummary |
withLifecycleStage(String lifecycleStage)
The lifecycle stage from AWS Trusted Advisor Priority
|
RecommendationSummary |
withName(String name)
The name of the AWS Trusted Advisor Recommendation
|
RecommendationSummary |
withPillars(Collection<String> pillars)
The Pillars that the Recommendation is optimizing
|
RecommendationSummary |
withPillars(RecommendationPillar... pillars)
The Pillars that the Recommendation is optimizing
|
RecommendationSummary |
withPillars(String... pillars)
The Pillars that the Recommendation is optimizing
|
RecommendationSummary |
withPillarSpecificAggregates(RecommendationPillarSpecificAggregates pillarSpecificAggregates)
The pillar aggregations for cost savings
|
RecommendationSummary |
withResourcesAggregates(RecommendationResourcesAggregates resourcesAggregates)
An aggregation of all resources
|
RecommendationSummary |
withSource(RecommendationSource source)
The source of the Recommendation
|
RecommendationSummary |
withSource(String source)
The source of the Recommendation
|
RecommendationSummary |
withStatus(RecommendationStatus status)
The status of the Recommendation
|
RecommendationSummary |
withStatus(String status)
The status of the Recommendation
|
RecommendationSummary |
withType(RecommendationType type)
Whether the Recommendation was automated or generated by AWS Trusted Advisor Priority
|
RecommendationSummary |
withType(String type)
Whether the Recommendation was automated or generated by AWS Trusted Advisor Priority
|
public void setArn(String arn)
The ARN of the Recommendation
arn - The ARN of the Recommendationpublic String getArn()
The ARN of the Recommendation
public RecommendationSummary withArn(String arn)
The ARN of the Recommendation
arn - The ARN of the Recommendationpublic List<String> getAwsServices()
The AWS Services that the Recommendation applies to
public void setAwsServices(Collection<String> awsServices)
The AWS Services that the Recommendation applies to
awsServices - The AWS Services that the Recommendation applies topublic RecommendationSummary withAwsServices(String... awsServices)
The AWS Services that the Recommendation applies to
NOTE: This method appends the values to the existing list (if any). Use
setAwsServices(java.util.Collection) or withAwsServices(java.util.Collection) if you want to
override the existing values.
awsServices - The AWS Services that the Recommendation applies topublic RecommendationSummary withAwsServices(Collection<String> awsServices)
The AWS Services that the Recommendation applies to
awsServices - The AWS Services that the Recommendation applies topublic void setCheckArn(String checkArn)
The AWS Trusted Advisor Check ARN that relates to the Recommendation
checkArn - The AWS Trusted Advisor Check ARN that relates to the Recommendationpublic String getCheckArn()
The AWS Trusted Advisor Check ARN that relates to the Recommendation
public RecommendationSummary withCheckArn(String checkArn)
The AWS Trusted Advisor Check ARN that relates to the Recommendation
checkArn - The AWS Trusted Advisor Check ARN that relates to the Recommendationpublic void setCreatedAt(Date createdAt)
When the Recommendation was created, if created by AWS Trusted Advisor Priority
createdAt - When the Recommendation was created, if created by AWS Trusted Advisor Prioritypublic Date getCreatedAt()
When the Recommendation was created, if created by AWS Trusted Advisor Priority
public RecommendationSummary withCreatedAt(Date createdAt)
When the Recommendation was created, if created by AWS Trusted Advisor Priority
createdAt - When the Recommendation was created, if created by AWS Trusted Advisor Prioritypublic void setId(String id)
The ID which identifies where the Recommendation was produced
id - The ID which identifies where the Recommendation was producedpublic String getId()
The ID which identifies where the Recommendation was produced
public RecommendationSummary withId(String id)
The ID which identifies where the Recommendation was produced
id - The ID which identifies where the Recommendation was producedpublic void setLastUpdatedAt(Date lastUpdatedAt)
When the Recommendation was last updated
lastUpdatedAt - When the Recommendation was last updatedpublic Date getLastUpdatedAt()
When the Recommendation was last updated
public RecommendationSummary withLastUpdatedAt(Date lastUpdatedAt)
When the Recommendation was last updated
lastUpdatedAt - When the Recommendation was last updatedpublic void setLifecycleStage(String lifecycleStage)
The lifecycle stage from AWS Trusted Advisor Priority
lifecycleStage - The lifecycle stage from AWS Trusted Advisor PriorityRecommendationLifecycleStagepublic String getLifecycleStage()
The lifecycle stage from AWS Trusted Advisor Priority
RecommendationLifecycleStagepublic RecommendationSummary withLifecycleStage(String lifecycleStage)
The lifecycle stage from AWS Trusted Advisor Priority
lifecycleStage - The lifecycle stage from AWS Trusted Advisor PriorityRecommendationLifecycleStagepublic RecommendationSummary withLifecycleStage(RecommendationLifecycleStage lifecycleStage)
The lifecycle stage from AWS Trusted Advisor Priority
lifecycleStage - The lifecycle stage from AWS Trusted Advisor PriorityRecommendationLifecycleStagepublic void setName(String name)
The name of the AWS Trusted Advisor Recommendation
name - The name of the AWS Trusted Advisor Recommendationpublic String getName()
The name of the AWS Trusted Advisor Recommendation
public RecommendationSummary withName(String name)
The name of the AWS Trusted Advisor Recommendation
name - The name of the AWS Trusted Advisor Recommendationpublic void setPillarSpecificAggregates(RecommendationPillarSpecificAggregates pillarSpecificAggregates)
The pillar aggregations for cost savings
pillarSpecificAggregates - The pillar aggregations for cost savingspublic RecommendationPillarSpecificAggregates getPillarSpecificAggregates()
The pillar aggregations for cost savings
public RecommendationSummary withPillarSpecificAggregates(RecommendationPillarSpecificAggregates pillarSpecificAggregates)
The pillar aggregations for cost savings
pillarSpecificAggregates - The pillar aggregations for cost savingspublic List<String> getPillars()
The Pillars that the Recommendation is optimizing
RecommendationPillarpublic void setPillars(Collection<String> pillars)
The Pillars that the Recommendation is optimizing
pillars - The Pillars that the Recommendation is optimizingRecommendationPillarpublic RecommendationSummary withPillars(String... pillars)
The Pillars that the Recommendation is optimizing
NOTE: This method appends the values to the existing list (if any). Use
setPillars(java.util.Collection) or withPillars(java.util.Collection) if you want to override
the existing values.
pillars - The Pillars that the Recommendation is optimizingRecommendationPillarpublic RecommendationSummary withPillars(Collection<String> pillars)
The Pillars that the Recommendation is optimizing
pillars - The Pillars that the Recommendation is optimizingRecommendationPillarpublic RecommendationSummary withPillars(RecommendationPillar... pillars)
The Pillars that the Recommendation is optimizing
pillars - The Pillars that the Recommendation is optimizingRecommendationPillarpublic void setResourcesAggregates(RecommendationResourcesAggregates resourcesAggregates)
An aggregation of all resources
resourcesAggregates - An aggregation of all resourcespublic RecommendationResourcesAggregates getResourcesAggregates()
An aggregation of all resources
public RecommendationSummary withResourcesAggregates(RecommendationResourcesAggregates resourcesAggregates)
An aggregation of all resources
resourcesAggregates - An aggregation of all resourcespublic void setSource(String source)
The source of the Recommendation
source - The source of the RecommendationRecommendationSourcepublic String getSource()
The source of the Recommendation
RecommendationSourcepublic RecommendationSummary withSource(String source)
The source of the Recommendation
source - The source of the RecommendationRecommendationSourcepublic RecommendationSummary withSource(RecommendationSource source)
The source of the Recommendation
source - The source of the RecommendationRecommendationSourcepublic void setStatus(String status)
The status of the Recommendation
status - The status of the RecommendationRecommendationStatuspublic String getStatus()
The status of the Recommendation
RecommendationStatuspublic RecommendationSummary withStatus(String status)
The status of the Recommendation
status - The status of the RecommendationRecommendationStatuspublic RecommendationSummary withStatus(RecommendationStatus status)
The status of the Recommendation
status - The status of the RecommendationRecommendationStatuspublic void setType(String type)
Whether the Recommendation was automated or generated by AWS Trusted Advisor Priority
type - Whether the Recommendation was automated or generated by AWS Trusted Advisor PriorityRecommendationTypepublic String getType()
Whether the Recommendation was automated or generated by AWS Trusted Advisor Priority
RecommendationTypepublic RecommendationSummary withType(String type)
Whether the Recommendation was automated or generated by AWS Trusted Advisor Priority
type - Whether the Recommendation was automated or generated by AWS Trusted Advisor PriorityRecommendationTypepublic RecommendationSummary withType(RecommendationType type)
Whether the Recommendation was automated or generated by AWS Trusted Advisor Priority
type - Whether the Recommendation was automated or generated by AWS Trusted Advisor PriorityRecommendationTypepublic String toString()
toString in class ObjectObject.toString()public RecommendationSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.