@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Recommendation extends Object implements Serializable, Cloneable, StructuredPojo
A Recommendation for an Account
Constructor and Description |
---|
Recommendation() |
Modifier and Type | Method and Description |
---|---|
Recommendation |
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 |
getCreatedBy()
The creator, if created by AWS Trusted Advisor Priority
|
String |
getDescription()
A description for AWS Trusted Advisor recommendations
|
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
|
Date |
getResolvedAt()
When the Recommendation was resolved
|
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
|
String |
getUpdatedOnBehalfOf()
The person on whose behalf a Technical Account Manager (TAM) updated the recommendation.
|
String |
getUpdatedOnBehalfOfJobTitle()
The job title of the person on whose behalf a Technical Account Manager (TAM) updated the recommendation.
|
String |
getUpdateReason()
Reason for the lifecycle stage change
|
String |
getUpdateReasonCode()
Reason code for the lifecycle state change
|
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 |
setCreatedBy(String createdBy)
The creator, if created by AWS Trusted Advisor Priority
|
void |
setDescription(String description)
A description for AWS Trusted Advisor recommendations
|
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 |
setResolvedAt(Date resolvedAt)
When the Recommendation was resolved
|
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
|
void |
setUpdatedOnBehalfOf(String updatedOnBehalfOf)
The person on whose behalf a Technical Account Manager (TAM) updated the recommendation.
|
void |
setUpdatedOnBehalfOfJobTitle(String updatedOnBehalfOfJobTitle)
The job title of the person on whose behalf a Technical Account Manager (TAM) updated the recommendation.
|
void |
setUpdateReason(String updateReason)
Reason for the lifecycle stage change
|
void |
setUpdateReasonCode(String updateReasonCode)
Reason code for the lifecycle state change
|
String |
toString()
Returns a string representation of this object.
|
Recommendation |
withArn(String arn)
The ARN of the Recommendation
|
Recommendation |
withAwsServices(Collection<String> awsServices)
The AWS Services that the Recommendation applies to
|
Recommendation |
withAwsServices(String... awsServices)
The AWS Services that the Recommendation applies to
|
Recommendation |
withCheckArn(String checkArn)
The AWS Trusted Advisor Check ARN that relates to the Recommendation
|
Recommendation |
withCreatedAt(Date createdAt)
When the Recommendation was created, if created by AWS Trusted Advisor Priority
|
Recommendation |
withCreatedBy(String createdBy)
The creator, if created by AWS Trusted Advisor Priority
|
Recommendation |
withDescription(String description)
A description for AWS Trusted Advisor recommendations
|
Recommendation |
withId(String id)
The ID which identifies where the Recommendation was produced
|
Recommendation |
withLastUpdatedAt(Date lastUpdatedAt)
When the Recommendation was last updated
|
Recommendation |
withLifecycleStage(RecommendationLifecycleStage lifecycleStage)
The lifecycle stage from AWS Trusted Advisor Priority
|
Recommendation |
withLifecycleStage(String lifecycleStage)
The lifecycle stage from AWS Trusted Advisor Priority
|
Recommendation |
withName(String name)
The name of the AWS Trusted Advisor Recommendation
|
Recommendation |
withPillars(Collection<String> pillars)
The Pillars that the Recommendation is optimizing
|
Recommendation |
withPillars(RecommendationPillar... pillars)
The Pillars that the Recommendation is optimizing
|
Recommendation |
withPillars(String... pillars)
The Pillars that the Recommendation is optimizing
|
Recommendation |
withPillarSpecificAggregates(RecommendationPillarSpecificAggregates pillarSpecificAggregates)
The pillar aggregations for cost savings
|
Recommendation |
withResolvedAt(Date resolvedAt)
When the Recommendation was resolved
|
Recommendation |
withResourcesAggregates(RecommendationResourcesAggregates resourcesAggregates)
An aggregation of all resources
|
Recommendation |
withSource(RecommendationSource source)
The source of the Recommendation
|
Recommendation |
withSource(String source)
The source of the Recommendation
|
Recommendation |
withStatus(RecommendationStatus status)
The status of the Recommendation
|
Recommendation |
withStatus(String status)
The status of the Recommendation
|
Recommendation |
withType(RecommendationType type)
Whether the Recommendation was automated or generated by AWS Trusted Advisor Priority
|
Recommendation |
withType(String type)
Whether the Recommendation was automated or generated by AWS Trusted Advisor Priority
|
Recommendation |
withUpdatedOnBehalfOf(String updatedOnBehalfOf)
The person on whose behalf a Technical Account Manager (TAM) updated the recommendation.
|
Recommendation |
withUpdatedOnBehalfOfJobTitle(String updatedOnBehalfOfJobTitle)
The job title of the person on whose behalf a Technical Account Manager (TAM) updated the recommendation.
|
Recommendation |
withUpdateReason(String updateReason)
Reason for the lifecycle stage change
|
Recommendation |
withUpdateReasonCode(String updateReasonCode)
Reason code for the lifecycle state change
|
Recommendation |
withUpdateReasonCode(UpdateRecommendationLifecycleStageReasonCode updateReasonCode)
Reason code for the lifecycle state change
|
public void setArn(String arn)
The ARN of the Recommendation
arn
- The ARN of the Recommendationpublic String getArn()
The ARN of the Recommendation
public Recommendation 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 Recommendation 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 Recommendation 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 Recommendation 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 Recommendation 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 setCreatedBy(String createdBy)
The creator, if created by AWS Trusted Advisor Priority
createdBy
- The creator, if created by AWS Trusted Advisor Prioritypublic String getCreatedBy()
The creator, if created by AWS Trusted Advisor Priority
public Recommendation withCreatedBy(String createdBy)
The creator, if created by AWS Trusted Advisor Priority
createdBy
- The creator, if created by AWS Trusted Advisor Prioritypublic void setDescription(String description)
A description for AWS Trusted Advisor recommendations
description
- A description for AWS Trusted Advisor recommendationspublic String getDescription()
A description for AWS Trusted Advisor recommendations
public Recommendation withDescription(String description)
A description for AWS Trusted Advisor recommendations
description
- A description for AWS Trusted Advisor recommendationspublic 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 Recommendation 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 Recommendation 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 PriorityRecommendationLifecycleStage
public String getLifecycleStage()
The lifecycle stage from AWS Trusted Advisor Priority
RecommendationLifecycleStage
public Recommendation withLifecycleStage(String lifecycleStage)
The lifecycle stage from AWS Trusted Advisor Priority
lifecycleStage
- The lifecycle stage from AWS Trusted Advisor PriorityRecommendationLifecycleStage
public Recommendation withLifecycleStage(RecommendationLifecycleStage lifecycleStage)
The lifecycle stage from AWS Trusted Advisor Priority
lifecycleStage
- The lifecycle stage from AWS Trusted Advisor PriorityRecommendationLifecycleStage
public 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 Recommendation 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 Recommendation 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
RecommendationPillar
public void setPillars(Collection<String> pillars)
The Pillars that the Recommendation is optimizing
pillars
- The Pillars that the Recommendation is optimizingRecommendationPillar
public Recommendation 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 optimizingRecommendationPillar
public Recommendation withPillars(Collection<String> pillars)
The Pillars that the Recommendation is optimizing
pillars
- The Pillars that the Recommendation is optimizingRecommendationPillar
public Recommendation withPillars(RecommendationPillar... pillars)
The Pillars that the Recommendation is optimizing
pillars
- The Pillars that the Recommendation is optimizingRecommendationPillar
public void setResolvedAt(Date resolvedAt)
When the Recommendation was resolved
resolvedAt
- When the Recommendation was resolvedpublic Date getResolvedAt()
When the Recommendation was resolved
public Recommendation withResolvedAt(Date resolvedAt)
When the Recommendation was resolved
resolvedAt
- When the Recommendation was resolvedpublic void setResourcesAggregates(RecommendationResourcesAggregates resourcesAggregates)
An aggregation of all resources
resourcesAggregates
- An aggregation of all resourcespublic RecommendationResourcesAggregates getResourcesAggregates()
An aggregation of all resources
public Recommendation 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 RecommendationRecommendationSource
public String getSource()
The source of the Recommendation
RecommendationSource
public Recommendation withSource(String source)
The source of the Recommendation
source
- The source of the RecommendationRecommendationSource
public Recommendation withSource(RecommendationSource source)
The source of the Recommendation
source
- The source of the RecommendationRecommendationSource
public void setStatus(String status)
The status of the Recommendation
status
- The status of the RecommendationRecommendationStatus
public String getStatus()
The status of the Recommendation
RecommendationStatus
public Recommendation withStatus(String status)
The status of the Recommendation
status
- The status of the RecommendationRecommendationStatus
public Recommendation withStatus(RecommendationStatus status)
The status of the Recommendation
status
- The status of the RecommendationRecommendationStatus
public 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 PriorityRecommendationType
public String getType()
Whether the Recommendation was automated or generated by AWS Trusted Advisor Priority
RecommendationType
public Recommendation 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 PriorityRecommendationType
public Recommendation 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 PriorityRecommendationType
public void setUpdateReason(String updateReason)
Reason for the lifecycle stage change
updateReason
- Reason for the lifecycle stage changepublic String getUpdateReason()
Reason for the lifecycle stage change
public Recommendation withUpdateReason(String updateReason)
Reason for the lifecycle stage change
updateReason
- Reason for the lifecycle stage changepublic void setUpdateReasonCode(String updateReasonCode)
Reason code for the lifecycle state change
updateReasonCode
- Reason code for the lifecycle state changeUpdateRecommendationLifecycleStageReasonCode
public String getUpdateReasonCode()
Reason code for the lifecycle state change
UpdateRecommendationLifecycleStageReasonCode
public Recommendation withUpdateReasonCode(String updateReasonCode)
Reason code for the lifecycle state change
updateReasonCode
- Reason code for the lifecycle state changeUpdateRecommendationLifecycleStageReasonCode
public Recommendation withUpdateReasonCode(UpdateRecommendationLifecycleStageReasonCode updateReasonCode)
Reason code for the lifecycle state change
updateReasonCode
- Reason code for the lifecycle state changeUpdateRecommendationLifecycleStageReasonCode
public void setUpdatedOnBehalfOf(String updatedOnBehalfOf)
The person on whose behalf a Technical Account Manager (TAM) updated the recommendation. This information is only available when a Technical Account Manager takes an action on a recommendation managed by AWS Trusted Advisor Priority
updatedOnBehalfOf
- The person on whose behalf a Technical Account Manager (TAM) updated the recommendation. This information
is only available when a Technical Account Manager takes an action on a recommendation managed by AWS
Trusted Advisor Prioritypublic String getUpdatedOnBehalfOf()
The person on whose behalf a Technical Account Manager (TAM) updated the recommendation. This information is only available when a Technical Account Manager takes an action on a recommendation managed by AWS Trusted Advisor Priority
public Recommendation withUpdatedOnBehalfOf(String updatedOnBehalfOf)
The person on whose behalf a Technical Account Manager (TAM) updated the recommendation. This information is only available when a Technical Account Manager takes an action on a recommendation managed by AWS Trusted Advisor Priority
updatedOnBehalfOf
- The person on whose behalf a Technical Account Manager (TAM) updated the recommendation. This information
is only available when a Technical Account Manager takes an action on a recommendation managed by AWS
Trusted Advisor Prioritypublic void setUpdatedOnBehalfOfJobTitle(String updatedOnBehalfOfJobTitle)
The job title of the person on whose behalf a Technical Account Manager (TAM) updated the recommendation. This information is only available when a Technical Account Manager takes an action on a recommendation managed by AWS Trusted Advisor Priority
updatedOnBehalfOfJobTitle
- The job title of the person on whose behalf a Technical Account Manager (TAM) updated the recommendation.
This information is only available when a Technical Account Manager takes an action on a recommendation
managed by AWS Trusted Advisor Prioritypublic String getUpdatedOnBehalfOfJobTitle()
The job title of the person on whose behalf a Technical Account Manager (TAM) updated the recommendation. This information is only available when a Technical Account Manager takes an action on a recommendation managed by AWS Trusted Advisor Priority
public Recommendation withUpdatedOnBehalfOfJobTitle(String updatedOnBehalfOfJobTitle)
The job title of the person on whose behalf a Technical Account Manager (TAM) updated the recommendation. This information is only available when a Technical Account Manager takes an action on a recommendation managed by AWS Trusted Advisor Priority
updatedOnBehalfOfJobTitle
- The job title of the person on whose behalf a Technical Account Manager (TAM) updated the recommendation.
This information is only available when a Technical Account Manager takes an action on a recommendation
managed by AWS Trusted Advisor Prioritypublic String toString()
toString
in class Object
Object.toString()
public Recommendation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.