Interface Recommendation.Builder

  • Method Details

    • 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.
    • 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:
    • 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:
    • 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.
    • 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:
    • 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:
    • 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:
    • 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:
    • 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

      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

      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.
    • 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:
    • 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:
    • 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.
    • 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.
    • 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 the RecommendationResourcesAggregates.Builder avoiding the need to create one manually via RecommendationResourcesAggregates.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resourcesAggregates(RecommendationResourcesAggregates).

      Parameters:
      resourcesAggregates - a consumer that will call methods on RecommendationResourcesAggregates.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the RecommendationPillarSpecificAggregates.Builder avoiding the need to create one manually via RecommendationPillarSpecificAggregates.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to pillarSpecificAggregates(RecommendationPillarSpecificAggregates).

      Parameters:
      pillarSpecificAggregates - a consumer that will call methods on RecommendationPillarSpecificAggregates.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • 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.
    • 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.
    • statusReason

      Recommendation.Builder statusReason(String statusReason)

      This attribute provides additional details about potential discrepancies in check status determination.

      Parameters:
      statusReason - This attribute provides additional details about potential discrepancies in check status determination.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusReason

      Recommendation.Builder statusReason(StatusReason statusReason)

      This attribute provides additional details about potential discrepancies in check status determination.

      Parameters:
      statusReason - This attribute provides additional details about potential discrepancies in check status determination.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • 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.
    • 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.
    • 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:
    • 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:
    • 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.