Class CfnAgentContext.Builder
java.lang.Object
software.amazon.awscdk.services.wellarchitected.CfnAgentContext.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgentContext>
- Enclosing class:
CfnAgentContext
@Stability(Stable)
public static final class CfnAgentContext.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgentContext>
A fluent builder for
CfnAgentContext.-
Method Summary
Modifier and TypeMethodDescriptionbuild()The free-form content of the Agent Context, supplied as an arbitrary JSON object.contextType(String contextType) The type of the Agent Context.static CfnAgentContext.BuilderprofileArn(String profileArn) The Amazon Resource Name (ARN) of the parent Agent Profile that owns this context.The title of the Agent Context.
-
Method Details
-
create
@Stability(Stable) public static CfnAgentContext.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnAgentContext.Builder.
-
content
The free-form content of the Agent Context, supplied as an arbitrary JSON object.- Parameters:
content- The free-form content of the Agent Context, supplied as an arbitrary JSON object. This parameter is required.- Returns:
this- See Also:
-
contextType
The type of the Agent Context.- Parameters:
contextType- The type of the Agent Context. This parameter is required.- Returns:
this- See Also:
-
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.- Parameters:
profileArn- The Amazon Resource Name (ARN) of the parent Agent Profile that owns this context. This parameter is required.- Returns:
this- See Also:
-
title
The title of the Agent Context.- Parameters:
title- The title of the Agent Context. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAgentContext>- Returns:
- a newly built instance of
CfnAgentContext.
-