Class CfnAgentPropsMixin.AgentCollaboratorProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnAgentPropsMixin.AgentCollaboratorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgentPropsMixin.AgentCollaboratorProperty>
- Enclosing interface:
CfnAgentPropsMixin.AgentCollaboratorProperty
@Stability(Stable)
public static final class CfnAgentPropsMixin.AgentCollaboratorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgentPropsMixin.AgentCollaboratorProperty>
A builder for
CfnAgentPropsMixin.AgentCollaboratorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentDescriptor(CfnAgentPropsMixin.AgentDescriptorProperty agentDescriptor) Sets the value ofCfnAgentPropsMixin.AgentCollaboratorProperty.getAgentDescriptor()agentDescriptor(IResolvable agentDescriptor) Sets the value ofCfnAgentPropsMixin.AgentCollaboratorProperty.getAgentDescriptor()build()Builds the configured instance.collaborationInstruction(String collaborationInstruction) collaboratorName(String collaboratorName) Sets the value ofCfnAgentPropsMixin.AgentCollaboratorProperty.getCollaboratorName()relayConversationHistory(String relayConversationHistory)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentDescriptor
@Stability(Stable) public CfnAgentPropsMixin.AgentCollaboratorProperty.Builder agentDescriptor(IResolvable agentDescriptor) Sets the value ofCfnAgentPropsMixin.AgentCollaboratorProperty.getAgentDescriptor()- Parameters:
agentDescriptor- The collaborator's agent descriptor.- Returns:
this
-
agentDescriptor
@Stability(Stable) public CfnAgentPropsMixin.AgentCollaboratorProperty.Builder agentDescriptor(CfnAgentPropsMixin.AgentDescriptorProperty agentDescriptor) Sets the value ofCfnAgentPropsMixin.AgentCollaboratorProperty.getAgentDescriptor()- Parameters:
agentDescriptor- The collaborator's agent descriptor.- Returns:
this
-
collaborationInstruction
@Stability(Stable) public CfnAgentPropsMixin.AgentCollaboratorProperty.Builder collaborationInstruction(String collaborationInstruction) - Parameters:
collaborationInstruction- The collaborator's instructions.- Returns:
this
-
collaboratorName
@Stability(Stable) public CfnAgentPropsMixin.AgentCollaboratorProperty.Builder collaboratorName(String collaboratorName) Sets the value ofCfnAgentPropsMixin.AgentCollaboratorProperty.getCollaboratorName()- Parameters:
collaboratorName- The collaborator's collaborator name.- Returns:
this
-
relayConversationHistory
@Stability(Stable) public CfnAgentPropsMixin.AgentCollaboratorProperty.Builder relayConversationHistory(String relayConversationHistory) - Parameters:
relayConversationHistory- The collaborator's relay conversation history.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAgentPropsMixin.AgentCollaboratorProperty>- Returns:
- a new instance of
CfnAgentPropsMixin.AgentCollaboratorProperty - Throws:
NullPointerException- if any required attribute was not provided
-