Class AgentReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.bedrock.AgentReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AgentReference>
- Enclosing interface:
AgentReference
@Stability(Stable)
public static final class AgentReference.Builder
extends Object
implements software.amazon.jsii.Builder<AgentReference>
A builder for
AgentReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofAgentReference.getAgentArn()Sets the value ofAgentReference.getAgentId()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentArn
Sets the value ofAgentReference.getAgentArn()- Parameters:
agentArn- The ARN of the Agent resource. This parameter is required.- Returns:
this
-
agentId
Sets the value ofAgentReference.getAgentId()- Parameters:
agentId- The AgentId of the Agent resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AgentReference>- Returns:
- a new instance of
AgentReference - Throws:
NullPointerException- if any required attribute was not provided
-