Interface OrganizationRecommendation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OrganizationRecommendation.Builder,OrganizationRecommendation>,SdkBuilder<OrganizationRecommendation.Builder,OrganizationRecommendation>,SdkPojo
- Enclosing class:
- OrganizationRecommendation
public static interface OrganizationRecommendation.Builder extends SdkPojo, CopyableBuilder<OrganizationRecommendation.Builder,OrganizationRecommendation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description OrganizationRecommendation.Builderarn(String arn)The ARN of the RecommendationOrganizationRecommendation.BuilderawsServices(String... awsServices)The AWS Services that the Recommendation applies toOrganizationRecommendation.BuilderawsServices(Collection<String> awsServices)The AWS Services that the Recommendation applies toOrganizationRecommendation.BuildercheckArn(String checkArn)The AWS Trusted Advisor Check ARN that relates to the RecommendationOrganizationRecommendation.BuildercreatedAt(Instant createdAt)When the Recommendation was created, if created by AWS Trusted Advisor PriorityOrganizationRecommendation.BuildercreatedBy(String createdBy)The creator, if created by AWS Trusted Advisor PriorityOrganizationRecommendation.Builderdescription(String description)A description for AWS Trusted Advisor recommendationsOrganizationRecommendation.Builderid(String id)The ID which identifies where the Recommendation was producedOrganizationRecommendation.BuilderlastUpdatedAt(Instant lastUpdatedAt)When the Recommendation was last updatedOrganizationRecommendation.BuilderlifecycleStage(String lifecycleStage)The lifecycle stage from AWS Trusted Advisor PriorityOrganizationRecommendation.BuilderlifecycleStage(RecommendationLifecycleStage lifecycleStage)The lifecycle stage from AWS Trusted Advisor PriorityOrganizationRecommendation.Buildername(String name)The name of the AWS Trusted Advisor RecommendationOrganizationRecommendation.Builderpillars(Collection<RecommendationPillar> pillars)The Pillars that the Recommendation is optimizingOrganizationRecommendation.Builderpillars(RecommendationPillar... pillars)The Pillars that the Recommendation is optimizingdefault OrganizationRecommendation.BuilderpillarSpecificAggregates(Consumer<RecommendationPillarSpecificAggregates.Builder> pillarSpecificAggregates)The pillar aggregations for cost savingsOrganizationRecommendation.BuilderpillarSpecificAggregates(RecommendationPillarSpecificAggregates pillarSpecificAggregates)The pillar aggregations for cost savingsOrganizationRecommendation.BuilderpillarsWithStrings(String... pillars)The Pillars that the Recommendation is optimizingOrganizationRecommendation.BuilderpillarsWithStrings(Collection<String> pillars)The Pillars that the Recommendation is optimizingOrganizationRecommendation.BuilderresolvedAt(Instant resolvedAt)When the Recommendation was resolveddefault OrganizationRecommendation.BuilderresourcesAggregates(Consumer<RecommendationResourcesAggregates.Builder> resourcesAggregates)An aggregation of all resourcesOrganizationRecommendation.BuilderresourcesAggregates(RecommendationResourcesAggregates resourcesAggregates)An aggregation of all resourcesOrganizationRecommendation.Buildersource(String source)The source of the RecommendationOrganizationRecommendation.Buildersource(RecommendationSource source)The source of the RecommendationOrganizationRecommendation.Builderstatus(String status)The status of the RecommendationOrganizationRecommendation.Builderstatus(RecommendationStatus status)The status of the RecommendationOrganizationRecommendation.Buildertype(String type)Whether the Recommendation was automated or generated by AWS Trusted Advisor PriorityOrganizationRecommendation.Buildertype(RecommendationType type)Whether the Recommendation was automated or generated by AWS Trusted Advisor PriorityOrganizationRecommendation.BuilderupdatedOnBehalfOf(String updatedOnBehalfOf)The person on whose behalf a Technical Account Manager (TAM) updated the recommendation.OrganizationRecommendation.BuilderupdatedOnBehalfOfJobTitle(String updatedOnBehalfOfJobTitle)The job title of the person on whose behalf a Technical Account Manager (TAM) updated the recommendation.OrganizationRecommendation.BuilderupdateReason(String updateReason)Reason for the lifecycle stage changeOrganizationRecommendation.BuilderupdateReasonCode(String updateReasonCode)Reason code for the lifecycle state changeOrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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 OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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 OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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
OrganizationRecommendation.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.
-
-