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