Interface Recommendation.Builder

  • Method Details

    • 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

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