Class IntelligentPromptRouterReference.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.IntelligentPromptRouterReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<IntelligentPromptRouterReference>
- Enclosing interface:
IntelligentPromptRouterReference
@Stability(Stable)
public static final class IntelligentPromptRouterReference.Builder
extends Object
implements software.amazon.jsii.Builder<IntelligentPromptRouterReference>
A builder for
IntelligentPromptRouterReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.promptRouterArn
(String promptRouterArn) Sets the value ofIntelligentPromptRouterReference.getPromptRouterArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
promptRouterArn
@Stability(Stable) public IntelligentPromptRouterReference.Builder promptRouterArn(String promptRouterArn) Sets the value ofIntelligentPromptRouterReference.getPromptRouterArn()
- Parameters:
promptRouterArn
- The PromptRouterArn of the IntelligentPromptRouter resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<IntelligentPromptRouterReference>
- Returns:
- a new instance of
IntelligentPromptRouterReference
- Throws:
NullPointerException
- if any required attribute was not provided
-