Class CfnAgentProfile.Builder
java.lang.Object
software.amazon.awscdk.services.wellarchitected.CfnAgentProfile.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgentProfile>
- Enclosing class:
CfnAgentProfile
@Stability(Stable)
public static final class CfnAgentProfile.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgentProfile>
A fluent builder for
CfnAgentProfile.-
Method Summary
Modifier and TypeMethodDescriptionaggregationConfiguration(List<? extends Object> aggregationConfiguration) The aggregation configuration entries (account, regions, access role) associated with this profile.aggregationConfiguration(IResolvable aggregationConfiguration) The aggregation configuration entries (account, regions, access role) associated with this profile.build()businessOverview(String businessOverview) A business overview for the profile used to improve recommendation quality.static CfnAgentProfile.BuilderdeletionProtection(Boolean deletionProtection) Whether deletion protection is enabled for the profile.deletionProtection(IResolvable deletionProtection) Whether deletion protection is enabled for the profile.description(String description) A description of the profile.displayName(String displayName) The human-readable display name of the profile.executionRoleArn(String executionRoleArn) The ARN of the IAM role assumed to execute recommendation actions.The name of the profile.The list of Well-Architected pillars to focus on.Key-value pairs to associate with the Agent Profile.
-
Method Details
-
create
@Stability(Stable) public static CfnAgentProfile.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnAgentProfile.Builder.
-
aggregationConfiguration
@Stability(Stable) public CfnAgentProfile.Builder aggregationConfiguration(IResolvable aggregationConfiguration) The aggregation configuration entries (account, regions, access role) associated with this profile.- Parameters:
aggregationConfiguration- The aggregation configuration entries (account, regions, access role) associated with this profile. This parameter is required.- Returns:
this- See Also:
-
aggregationConfiguration
@Stability(Stable) public CfnAgentProfile.Builder aggregationConfiguration(List<? extends Object> aggregationConfiguration) The aggregation configuration entries (account, regions, access role) associated with this profile.- Parameters:
aggregationConfiguration- The aggregation configuration entries (account, regions, access role) associated with this profile. This parameter is required.- Returns:
this- See Also:
-
executionRoleArn
The ARN of the IAM role assumed to execute recommendation actions.- Parameters:
executionRoleArn- The ARN of the IAM role assumed to execute recommendation actions. This parameter is required.- Returns:
this- See Also:
-
name
The name of the profile.Unique within the account and used as the last component of the ARN.
- Parameters:
name- The name of the profile. This parameter is required.- Returns:
this- See Also:
-
pillars
The list of Well-Architected pillars to focus on.- Parameters:
pillars- The list of Well-Architected pillars to focus on. This parameter is required.- Returns:
this- See Also:
-
businessOverview
A business overview for the profile used to improve recommendation quality.- Parameters:
businessOverview- A business overview for the profile used to improve recommendation quality. This parameter is required.- Returns:
this- See Also:
-
deletionProtection
Whether deletion protection is enabled for the profile.When enabled, the profile cannot be deleted until deletion protection is disabled.
- Parameters:
deletionProtection- Whether deletion protection is enabled for the profile. This parameter is required.- Returns:
this- See Also:
-
deletionProtection
@Stability(Stable) public CfnAgentProfile.Builder deletionProtection(IResolvable deletionProtection) Whether deletion protection is enabled for the profile.When enabled, the profile cannot be deleted until deletion protection is disabled.
- Parameters:
deletionProtection- Whether deletion protection is enabled for the profile. This parameter is required.- Returns:
this- See Also:
-
description
A description of the profile.- Parameters:
description- A description of the profile. This parameter is required.- Returns:
this- See Also:
-
displayName
The human-readable display name of the profile.- Parameters:
displayName- The human-readable display name of the profile. This parameter is required.- Returns:
this- See Also:
-
tags
Key-value pairs to associate with the Agent Profile.- Parameters:
tags- Key-value pairs to associate with the Agent Profile. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAgentProfile>- Returns:
- a newly built instance of
CfnAgentProfile.
-