Class CollectionReference.Builder
java.lang.Object
software.amazon.awscdk.services.rekognition.CollectionReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CollectionReference>
- Enclosing interface:
CollectionReference
@Stability(Stable)
public static final class CollectionReference.Builder
extends Object
implements software.amazon.jsii.Builder<CollectionReference>
A builder for
CollectionReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.collectionArn(String collectionArn) Sets the value ofCollectionReference.getCollectionArn()collectionId(String collectionId) Sets the value ofCollectionReference.getCollectionId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
collectionArn
Sets the value ofCollectionReference.getCollectionArn()- Parameters:
collectionArn- The ARN of the Collection resource. This parameter is required.- Returns:
this
-
collectionId
Sets the value ofCollectionReference.getCollectionId()- Parameters:
collectionId- The CollectionId of the Collection resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CollectionReference>- Returns:
- a new instance of
CollectionReference - Throws:
NullPointerException- if any required attribute was not provided
-