Class RetrieverReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.qbusiness.RetrieverReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RetrieverReference>
- Enclosing interface:
RetrieverReference
@Stability(Stable)
public static final class RetrieverReference.Builder
extends Object
implements software.amazon.jsii.Builder<RetrieverReference>
A builder for
RetrieverReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) Sets the value ofRetrieverReference.getApplicationId()build()Builds the configured instance.retrieverArn(String retrieverArn) Sets the value ofRetrieverReference.getRetrieverArn()retrieverId(String retrieverId) Sets the value ofRetrieverReference.getRetrieverId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
Sets the value ofRetrieverReference.getApplicationId()- Parameters:
applicationId- The ApplicationId of the Retriever resource. This parameter is required.- Returns:
this
-
retrieverArn
Sets the value ofRetrieverReference.getRetrieverArn()- Parameters:
retrieverArn- The ARN of the Retriever resource. This parameter is required.- Returns:
this
-
retrieverId
Sets the value ofRetrieverReference.getRetrieverId()- Parameters:
retrieverId- The RetrieverId of the Retriever resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RetrieverReference>- Returns:
- a new instance of
RetrieverReference - Throws:
NullPointerException- if any required attribute was not provided
-