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