Class AssistantReference.Builder
java.lang.Object
software.amazon.awscdk.services.wisdom.AssistantReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AssistantReference>
- Enclosing interface:
AssistantReference
@Stability(Stable)
public static final class AssistantReference.Builder
extends Object
implements software.amazon.jsii.Builder<AssistantReference>
A builder for
AssistantReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassistantArn
(String assistantArn) Sets the value ofAssistantReference.getAssistantArn()
assistantId
(String assistantId) Sets the value ofAssistantReference.getAssistantId()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
assistantArn
Sets the value ofAssistantReference.getAssistantArn()
- Parameters:
assistantArn
- The ARN of the Assistant resource. This parameter is required.- Returns:
this
-
assistantId
Sets the value ofAssistantReference.getAssistantId()
- Parameters:
assistantId
- The AssistantId of the Assistant resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AssistantReference>
- Returns:
- a new instance of
AssistantReference
- Throws:
NullPointerException
- if any required attribute was not provided
-