Class AgentGenAiResourceProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.alpha.AgentGenAiResourceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AgentGenAiResourceProps>
- Enclosing interface:
AgentGenAiResourceProps
@Stability(Experimental)
public static final class AgentGenAiResourceProps.Builder
extends Object
implements software.amazon.jsii.Builder<AgentGenAiResourceProps>
A builder for
AgentGenAiResourceProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentAlias(IAgentAlias agentAlias) Sets the value ofAgentGenAiResourceProps.getAgentAlias()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentAlias
Sets the value ofAgentGenAiResourceProps.getAgentAlias()- Parameters:
agentAlias- The agent alias to use for the GenAI resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AgentGenAiResourceProps>- Returns:
- a new instance of
AgentGenAiResourceProps - Throws:
NullPointerException- if any required attribute was not provided
-