Interface RecommendationSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RecommendationSummary.Builder,RecommendationSummary>,SdkBuilder<RecommendationSummary.Builder,RecommendationSummary>,SdkPojo
- Enclosing class:
- RecommendationSummary
public static interface RecommendationSummary.Builder extends SdkPojo, CopyableBuilder<RecommendationSummary.Builder,RecommendationSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RecommendationSummary.Builderarn(String arn)The ARN of the RecommendationRecommendationSummary.BuilderawsServices(String... awsServices)The AWS Services that the Recommendation applies toRecommendationSummary.BuilderawsServices(Collection<String> awsServices)The AWS Services that the Recommendation applies toRecommendationSummary.BuildercheckArn(String checkArn)The AWS Trusted Advisor Check ARN that relates to the RecommendationRecommendationSummary.BuildercreatedAt(Instant createdAt)When the Recommendation was created, if created by AWS Trusted Advisor PriorityRecommendationSummary.Builderid(String id)The ID which identifies where the Recommendation was producedRecommendationSummary.BuilderlastUpdatedAt(Instant lastUpdatedAt)When the Recommendation was last updatedRecommendationSummary.BuilderlifecycleStage(String lifecycleStage)The lifecycle stage from AWS Trusted Advisor PriorityRecommendationSummary.BuilderlifecycleStage(RecommendationLifecycleStage lifecycleStage)The lifecycle stage from AWS Trusted Advisor PriorityRecommendationSummary.Buildername(String name)The name of the AWS Trusted Advisor RecommendationRecommendationSummary.Builderpillars(Collection<RecommendationPillar> pillars)The Pillars that the Recommendation is optimizingRecommendationSummary.Builderpillars(RecommendationPillar... pillars)The Pillars that the Recommendation is optimizingdefault RecommendationSummary.BuilderpillarSpecificAggregates(Consumer<RecommendationPillarSpecificAggregates.Builder> pillarSpecificAggregates)The pillar aggregations for cost savingsRecommendationSummary.BuilderpillarSpecificAggregates(RecommendationPillarSpecificAggregates pillarSpecificAggregates)The pillar aggregations for cost savingsRecommendationSummary.BuilderpillarsWithStrings(String... pillars)The Pillars that the Recommendation is optimizingRecommendationSummary.BuilderpillarsWithStrings(Collection<String> pillars)The Pillars that the Recommendation is optimizingdefault RecommendationSummary.BuilderresourcesAggregates(Consumer<RecommendationResourcesAggregates.Builder> resourcesAggregates)An aggregation of all resourcesRecommendationSummary.BuilderresourcesAggregates(RecommendationResourcesAggregates resourcesAggregates)An aggregation of all resourcesRecommendationSummary.Buildersource(String source)The source of the RecommendationRecommendationSummary.Buildersource(RecommendationSource source)The source of the RecommendationRecommendationSummary.Builderstatus(String status)The status of the RecommendationRecommendationSummary.Builderstatus(RecommendationStatus status)The status of the RecommendationRecommendationSummary.Buildertype(String type)Whether the Recommendation was automated or generated by AWS Trusted Advisor PriorityRecommendationSummary.Buildertype(RecommendationType type)Whether the Recommendation was automated or generated by AWS Trusted Advisor Priority-
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
RecommendationSummary.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
RecommendationSummary.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
RecommendationSummary.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
RecommendationSummary.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
RecommendationSummary.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.
-
id
RecommendationSummary.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
RecommendationSummary.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
RecommendationSummary.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
RecommendationSummary.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
RecommendationSummary.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
RecommendationSummary.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 RecommendationSummary.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
RecommendationSummary.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
RecommendationSummary.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
RecommendationSummary.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
RecommendationSummary.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.
-
resourcesAggregates
RecommendationSummary.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 RecommendationSummary.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
RecommendationSummary.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
RecommendationSummary.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
RecommendationSummary.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
RecommendationSummary.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
RecommendationSummary.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
RecommendationSummary.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
-
-