Class CfnAgentGoalMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wellarchitected.CfnAgentGoalMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgentGoalMixinProps>
- Enclosing interface:
CfnAgentGoalMixinProps
@Stability(Stable)
public static final class CfnAgentGoalMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgentGoalMixinProps>
A builder for
CfnAgentGoalMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnAgentGoalMixinProps.getDescription()Sets the value ofCfnAgentGoalMixinProps.getPillars()profileArn(String profileArn) Sets the value ofCfnAgentGoalMixinProps.getProfileArn()Sets the value ofCfnAgentGoalMixinProps.getTitle()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnAgentGoalMixinProps.getDescription()- Parameters:
description- A description of the Agent Goal.- Returns:
this
-
pillars
Sets the value ofCfnAgentGoalMixinProps.getPillars()- Parameters:
pillars- The list of Well-Architected pillars this goal targets.- Returns:
this
-
profileArn
Sets the value ofCfnAgentGoalMixinProps.getProfileArn()- Parameters:
profileArn- The Amazon Resource Name (ARN) of the parent Agent Profile that owns this goal. Pass!Refof the parent AWS::WellArchitected::AgentProfile to flow its ARN here.- Returns:
this
-
title
Sets the value ofCfnAgentGoalMixinProps.getTitle()- Parameters:
title- The title of the Agent Goal.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAgentGoalMixinProps>- Returns:
- a new instance of
CfnAgentGoalMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-