Interface Recommendation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Recommendation.Builder,Recommendation>,SdkBuilder<Recommendation.Builder,Recommendation>,SdkPojo
- Enclosing class:
- Recommendation
public static interface Recommendation.Builder extends SdkPojo, CopyableBuilder<Recommendation.Builder,Recommendation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Recommendation.Builderarn(String arn)The ARN of the RecommendationRecommendation.BuilderawsServices(String... awsServices)The AWS Services that the Recommendation applies toRecommendation.BuilderawsServices(Collection<String> awsServices)The AWS Services that the Recommendation applies toRecommendation.BuildercheckArn(String checkArn)The AWS Trusted Advisor Check ARN that relates to the RecommendationRecommendation.BuildercreatedAt(Instant createdAt)When the Recommendation was created, if created by AWS Trusted Advisor PriorityRecommendation.BuildercreatedBy(String createdBy)The creator, if created by AWS Trusted Advisor PriorityRecommendation.Builderdescription(String description)A description for AWS Trusted Advisor recommendationsRecommendation.Builderid(String id)The ID which identifies where the Recommendation was producedRecommendation.BuilderlastUpdatedAt(Instant lastUpdatedAt)When the Recommendation was last updatedRecommendation.BuilderlifecycleStage(String lifecycleStage)The lifecycle stage from AWS Trusted Advisor PriorityRecommendation.BuilderlifecycleStage(RecommendationLifecycleStage lifecycleStage)The lifecycle stage from AWS Trusted Advisor PriorityRecommendation.Buildername(String name)The name of the AWS Trusted Advisor RecommendationRecommendation.Builderpillars(Collection<RecommendationPillar> pillars)The Pillars that the Recommendation is optimizingRecommendation.Builderpillars(RecommendationPillar... pillars)The Pillars that the Recommendation is optimizingdefault Recommendation.BuilderpillarSpecificAggregates(Consumer<RecommendationPillarSpecificAggregates.Builder> pillarSpecificAggregates)The pillar aggregations for cost savingsRecommendation.BuilderpillarSpecificAggregates(RecommendationPillarSpecificAggregates pillarSpecificAggregates)The pillar aggregations for cost savingsRecommendation.BuilderpillarsWithStrings(String... pillars)The Pillars that the Recommendation is optimizingRecommendation.BuilderpillarsWithStrings(Collection<String> pillars)The Pillars that the Recommendation is optimizingRecommendation.BuilderresolvedAt(Instant resolvedAt)When the Recommendation was resolveddefault Recommendation.BuilderresourcesAggregates(Consumer<RecommendationResourcesAggregates.Builder> resourcesAggregates)An aggregation of all resourcesRecommendation.BuilderresourcesAggregates(RecommendationResourcesAggregates resourcesAggregates)An aggregation of all resourcesRecommendation.Buildersource(String source)The source of the RecommendationRecommendation.Buildersource(RecommendationSource source)The source of the RecommendationRecommendation.Builderstatus(String status)The status of the RecommendationRecommendation.Builderstatus(RecommendationStatus status)The status of the RecommendationRecommendation.Buildertype(String type)Whether the Recommendation was automated or generated by AWS Trusted Advisor PriorityRecommendation.Buildertype(RecommendationType type)Whether the Recommendation was automated or generated by AWS Trusted Advisor PriorityRecommendation.BuilderupdatedOnBehalfOf(String updatedOnBehalfOf)The person on whose behalf a Technical Account Manager (TAM) updated the recommendation.Recommendation.BuilderupdatedOnBehalfOfJobTitle(String updatedOnBehalfOfJobTitle)The job title of the person on whose behalf a Technical Account Manager (TAM) updated the recommendation.Recommendation.BuilderupdateReason(String updateReason)Reason for the lifecycle stage changeRecommendation.BuilderupdateReasonCode(String updateReasonCode)Reason code for the lifecycle state changeRecommendation.BuilderupdateReasonCode(UpdateRecommendationLifecycleStageReasonCode updateReasonCode)Reason code for the lifecycle state change-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
arn
Recommendation.Builder arn(String arn)
The ARN of the Recommendation
- Parameters:
arn- The ARN of the Recommendation- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsServices
Recommendation.Builder awsServices(Collection<String> awsServices)
The AWS Services that the Recommendation applies to
- Parameters:
awsServices- The AWS Services that the Recommendation applies to- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsServices
Recommendation.Builder awsServices(String... awsServices)
The AWS Services that the Recommendation applies to
- Parameters:
awsServices- The AWS Services that the Recommendation applies to- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checkArn
Recommendation.Builder checkArn(String checkArn)
The AWS Trusted Advisor Check ARN that relates to the Recommendation
- Parameters:
checkArn- The AWS Trusted Advisor Check ARN that relates to the Recommendation- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Recommendation.Builder createdAt(Instant createdAt)
When the Recommendation was created, if created by AWS Trusted Advisor Priority
- Parameters:
createdAt- When the Recommendation was created, if created by AWS Trusted Advisor Priority- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Recommendation.Builder createdBy(String createdBy)
The creator, if created by AWS Trusted Advisor Priority
- Parameters:
createdBy- The creator, if created by AWS Trusted Advisor Priority- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Recommendation.Builder description(String description)
A description for AWS Trusted Advisor recommendations
- Parameters:
description- A description for AWS Trusted Advisor recommendations- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
Recommendation.Builder id(String id)
The ID which identifies where the Recommendation was produced
- Parameters:
id- The ID which identifies where the Recommendation was produced- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
Recommendation.Builder lastUpdatedAt(Instant lastUpdatedAt)
When the Recommendation was last updated
- Parameters:
lastUpdatedAt- When the Recommendation was last updated- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleStage
Recommendation.Builder lifecycleStage(String lifecycleStage)
The lifecycle stage from AWS Trusted Advisor Priority
- Parameters:
lifecycleStage- The lifecycle stage from AWS Trusted Advisor Priority- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RecommendationLifecycleStage,RecommendationLifecycleStage
-
lifecycleStage
Recommendation.Builder lifecycleStage(RecommendationLifecycleStage lifecycleStage)
The lifecycle stage from AWS Trusted Advisor Priority
- Parameters:
lifecycleStage- The lifecycle stage from AWS Trusted Advisor Priority- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RecommendationLifecycleStage,RecommendationLifecycleStage
-
name
Recommendation.Builder name(String name)
The name of the AWS Trusted Advisor Recommendation
- Parameters:
name- The name of the AWS Trusted Advisor Recommendation- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pillarSpecificAggregates
Recommendation.Builder pillarSpecificAggregates(RecommendationPillarSpecificAggregates pillarSpecificAggregates)
The pillar aggregations for cost savings
- Parameters:
pillarSpecificAggregates- The pillar aggregations for cost savings- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pillarSpecificAggregates
default Recommendation.Builder pillarSpecificAggregates(Consumer<RecommendationPillarSpecificAggregates.Builder> pillarSpecificAggregates)
The pillar aggregations for cost savings
This is a convenience method that creates an instance of theRecommendationPillarSpecificAggregates.Builderavoiding the need to create one manually viaRecommendationPillarSpecificAggregates.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topillarSpecificAggregates(RecommendationPillarSpecificAggregates).- Parameters:
pillarSpecificAggregates- a consumer that will call methods onRecommendationPillarSpecificAggregates.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
pillarSpecificAggregates(RecommendationPillarSpecificAggregates)
-
pillarsWithStrings
Recommendation.Builder pillarsWithStrings(Collection<String> pillars)
The Pillars that the Recommendation is optimizing
- Parameters:
pillars- The Pillars that the Recommendation is optimizing- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pillarsWithStrings
Recommendation.Builder pillarsWithStrings(String... pillars)
The Pillars that the Recommendation is optimizing
- Parameters:
pillars- The Pillars that the Recommendation is optimizing- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pillars
Recommendation.Builder pillars(Collection<RecommendationPillar> pillars)
The Pillars that the Recommendation is optimizing
- Parameters:
pillars- The Pillars that the Recommendation is optimizing- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pillars
Recommendation.Builder pillars(RecommendationPillar... pillars)
The Pillars that the Recommendation is optimizing
- Parameters:
pillars- The Pillars that the Recommendation is optimizing- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolvedAt
Recommendation.Builder resolvedAt(Instant resolvedAt)
When the Recommendation was resolved
- Parameters:
resolvedAt- When the Recommendation was resolved- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcesAggregates
Recommendation.Builder resourcesAggregates(RecommendationResourcesAggregates resourcesAggregates)
An aggregation of all resources
- Parameters:
resourcesAggregates- An aggregation of all resources- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcesAggregates
default Recommendation.Builder resourcesAggregates(Consumer<RecommendationResourcesAggregates.Builder> resourcesAggregates)
An aggregation of all resources
This is a convenience method that creates an instance of theRecommendationResourcesAggregates.Builderavoiding the need to create one manually viaRecommendationResourcesAggregates.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourcesAggregates(RecommendationResourcesAggregates).- Parameters:
resourcesAggregates- a consumer that will call methods onRecommendationResourcesAggregates.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
resourcesAggregates(RecommendationResourcesAggregates)
-
source
Recommendation.Builder source(String source)
The source of the Recommendation
- Parameters:
source- The source of the Recommendation- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RecommendationSource,RecommendationSource
-
source
Recommendation.Builder source(RecommendationSource source)
The source of the Recommendation
- Parameters:
source- The source of the Recommendation- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RecommendationSource,RecommendationSource
-
status
Recommendation.Builder status(String status)
The status of the Recommendation
- Parameters:
status- The status of the Recommendation- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RecommendationStatus,RecommendationStatus
-
status
Recommendation.Builder status(RecommendationStatus status)
The status of the Recommendation
- Parameters:
status- The status of the Recommendation- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RecommendationStatus,RecommendationStatus
-
type
Recommendation.Builder type(String type)
Whether the Recommendation was automated or generated by AWS Trusted Advisor Priority
- Parameters:
type- Whether the Recommendation was automated or generated by AWS Trusted Advisor Priority- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RecommendationType,RecommendationType
-
type
Recommendation.Builder type(RecommendationType type)
Whether the Recommendation was automated or generated by AWS Trusted Advisor Priority
- Parameters:
type- Whether the Recommendation was automated or generated by AWS Trusted Advisor Priority- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RecommendationType,RecommendationType
-
updateReason
Recommendation.Builder updateReason(String updateReason)
Reason for the lifecycle stage change
- Parameters:
updateReason- Reason for the lifecycle stage change- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateReasonCode
Recommendation.Builder updateReasonCode(String updateReasonCode)
Reason code for the lifecycle state change
- Parameters:
updateReasonCode- Reason code for the lifecycle state change- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UpdateRecommendationLifecycleStageReasonCode,UpdateRecommendationLifecycleStageReasonCode
-
updateReasonCode
Recommendation.Builder updateReasonCode(UpdateRecommendationLifecycleStageReasonCode updateReasonCode)
Reason code for the lifecycle state change
- Parameters:
updateReasonCode- Reason code for the lifecycle state change- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UpdateRecommendationLifecycleStageReasonCode,UpdateRecommendationLifecycleStageReasonCode
-
updatedOnBehalfOf
Recommendation.Builder updatedOnBehalfOf(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
- Parameters:
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- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedOnBehalfOfJobTitle
Recommendation.Builder updatedOnBehalfOfJobTitle(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
- Parameters:
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- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-