Class CfnCollectionProps.Builder
java.lang.Object
software.amazon.awscdk.services.rekognition.CfnCollectionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCollectionProps>
- Enclosing interface:
CfnCollectionProps
@Stability(Stable)
public static final class CfnCollectionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCollectionProps>
A builder for
CfnCollectionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.collectionId(String collectionId) Sets the value ofCfnCollectionProps.getCollectionId()Sets the value ofCfnCollectionProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
collectionId
Sets the value ofCfnCollectionProps.getCollectionId()- Parameters:
collectionId- ID for the collection that you are creating. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnCollectionProps.getTags()- Parameters:
tags- A set of tags (key-value pairs) that you want to attach to the collection.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCollectionProps>- Returns:
- a new instance of
CfnCollectionProps - Throws:
NullPointerException- if any required attribute was not provided
-