Class CfnCollection.Builder

java.lang.Object
software.amazon.awscdk.services.rekognition.CfnCollection.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCollection>
Enclosing class:
CfnCollection

@Stability(Stable) public static final class CfnCollection.Builder extends Object implements software.amazon.jsii.Builder<CfnCollection>
A fluent builder for CfnCollection.
  • Method Details

    • create

      @Stability(Stable) public static CfnCollection.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnCollection.Builder.
    • collectionId

      @Stability(Stable) public CfnCollection.Builder collectionId(String collectionId)
      ID for the collection that you are creating.

      Parameters:
      collectionId - ID for the collection that you are creating. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnCollection.Builder tags(List<? extends CfnTag> tags)
      A set of tags (key-value pairs) that you want to attach to the collection.

      Parameters:
      tags - A set of tags (key-value pairs) that you want to attach to the collection. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnCollection build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnCollection>
      Returns:
      a newly built instance of CfnCollection.