Class CfnAgentProfileMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wellarchitected.CfnAgentProfileMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgentProfileMixinProps>
- Enclosing interface:
CfnAgentProfileMixinProps
@Stability(Stable)
public static final class CfnAgentProfileMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgentProfileMixinProps>
A builder for
CfnAgentProfileMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregationConfiguration(List<? extends Object> aggregationConfiguration) Sets the value ofCfnAgentProfileMixinProps.getAggregationConfiguration()aggregationConfiguration(IResolvable aggregationConfiguration) Sets the value ofCfnAgentProfileMixinProps.getAggregationConfiguration()build()Builds the configured instance.businessOverview(String businessOverview) Sets the value ofCfnAgentProfileMixinProps.getBusinessOverview()deletionProtection(Boolean deletionProtection) Sets the value ofCfnAgentProfileMixinProps.getDeletionProtection()deletionProtection(IResolvable deletionProtection) Sets the value ofCfnAgentProfileMixinProps.getDeletionProtection()description(String description) Sets the value ofCfnAgentProfileMixinProps.getDescription()displayName(String displayName) Sets the value ofCfnAgentProfileMixinProps.getDisplayName()executionRoleArn(String executionRoleArn) Sets the value ofCfnAgentProfileMixinProps.getExecutionRoleArn()Sets the value ofCfnAgentProfileMixinProps.getName()Sets the value ofCfnAgentProfileMixinProps.getPillars()Sets the value ofCfnAgentProfileMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aggregationConfiguration
@Stability(Stable) public CfnAgentProfileMixinProps.Builder aggregationConfiguration(IResolvable aggregationConfiguration) Sets the value ofCfnAgentProfileMixinProps.getAggregationConfiguration()- Parameters:
aggregationConfiguration- The aggregation configuration entries (account, regions, access role) associated with this profile.- Returns:
this
-
aggregationConfiguration
@Stability(Stable) public CfnAgentProfileMixinProps.Builder aggregationConfiguration(List<? extends Object> aggregationConfiguration) Sets the value ofCfnAgentProfileMixinProps.getAggregationConfiguration()- Parameters:
aggregationConfiguration- The aggregation configuration entries (account, regions, access role) associated with this profile.- Returns:
this
-
businessOverview
@Stability(Stable) public CfnAgentProfileMixinProps.Builder businessOverview(String businessOverview) Sets the value ofCfnAgentProfileMixinProps.getBusinessOverview()- Parameters:
businessOverview- A business overview for the profile used to improve recommendation quality.- Returns:
this
-
deletionProtection
@Stability(Stable) public CfnAgentProfileMixinProps.Builder deletionProtection(Boolean deletionProtection) Sets the value ofCfnAgentProfileMixinProps.getDeletionProtection()- Parameters:
deletionProtection- Whether deletion protection is enabled for the profile. When enabled, the profile cannot be deleted until deletion protection is disabled.- Returns:
this
-
deletionProtection
@Stability(Stable) public CfnAgentProfileMixinProps.Builder deletionProtection(IResolvable deletionProtection) Sets the value ofCfnAgentProfileMixinProps.getDeletionProtection()- Parameters:
deletionProtection- Whether deletion protection is enabled for the profile. When enabled, the profile cannot be deleted until deletion protection is disabled.- Returns:
this
-
description
Sets the value ofCfnAgentProfileMixinProps.getDescription()- Parameters:
description- A description of the profile.- Returns:
this
-
displayName
Sets the value ofCfnAgentProfileMixinProps.getDisplayName()- Parameters:
displayName- The human-readable display name of the profile.- Returns:
this
-
executionRoleArn
@Stability(Stable) public CfnAgentProfileMixinProps.Builder executionRoleArn(String executionRoleArn) Sets the value ofCfnAgentProfileMixinProps.getExecutionRoleArn()- Parameters:
executionRoleArn- The ARN of the IAM role assumed to execute recommendation actions.- Returns:
this
-
name
Sets the value ofCfnAgentProfileMixinProps.getName()- Parameters:
name- The name of the profile. Unique within the account and used as the last component of the ARN.- Returns:
this
-
pillars
Sets the value ofCfnAgentProfileMixinProps.getPillars()- Parameters:
pillars- The list of Well-Architected pillars to focus on.- Returns:
this
-
tags
Sets the value ofCfnAgentProfileMixinProps.getTags()- Parameters:
tags- Key-value pairs to associate with the Agent Profile.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAgentProfileMixinProps>- Returns:
- a new instance of
CfnAgentProfileMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-