Class CfnAgentContextProps.Builder
java.lang.Object
software.amazon.awscdk.services.wellarchitected.CfnAgentContextProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgentContextProps>
- Enclosing interface:
CfnAgentContextProps
@Stability(Stable)
public static final class CfnAgentContextProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgentContextProps>
A builder for
CfnAgentContextProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAgentContextProps.getContent()contextType(String contextType) Sets the value ofCfnAgentContextProps.getContextType()profileArn(String profileArn) Sets the value ofCfnAgentContextProps.getProfileArn()Sets the value ofCfnAgentContextProps.getTitle()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
content
Sets the value ofCfnAgentContextProps.getContent()- Parameters:
content- The free-form content of the Agent Context, supplied as an arbitrary JSON object. This parameter is required.- Returns:
this
-
contextType
Sets the value ofCfnAgentContextProps.getContextType()- Parameters:
contextType- The type of the Agent Context. This parameter is required.- Returns:
this
-
profileArn
Sets the value ofCfnAgentContextProps.getProfileArn()- Parameters:
profileArn- The Amazon Resource Name (ARN) of the parent Agent Profile that owns this context. This parameter is required. Pass!Refof the parent AWS::WellArchitected::AgentProfile to flow its ARN here.- Returns:
this
-
title
Sets the value ofCfnAgentContextProps.getTitle()- Parameters:
title- The title of the Agent Context. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAgentContextProps>- Returns:
- a new instance of
CfnAgentContextProps - Throws:
NullPointerException- if any required attribute was not provided
-