Class CfnCollectionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.rekognition.CfnCollectionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCollectionMixinProps>
- Enclosing interface:
CfnCollectionMixinProps
@Stability(Stable)
public static final class CfnCollectionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCollectionMixinProps>
A builder for
CfnCollectionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.collectionId(String collectionId) Sets the value ofCfnCollectionMixinProps.getCollectionId()Sets the value ofCfnCollectionMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
collectionId
Sets the value ofCfnCollectionMixinProps.getCollectionId()- Parameters:
collectionId- ID for the collection that you are creating.- Returns:
this
-
tags
Sets the value ofCfnCollectionMixinProps.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<CfnCollectionMixinProps>- Returns:
- a new instance of
CfnCollectionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-