Class CfnTagAssociation.Builder

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

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

    • create

      @Stability(Stable) public static CfnTagAssociation.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 CfnTagAssociation.Builder.
    • lfTags

      @Stability(Stable) public CfnTagAssociation.Builder lfTags(IResolvable lfTags)
      A structure containing an LF-tag key-value pair.

      Parameters:
      lfTags - A structure containing an LF-tag key-value pair. This parameter is required.
      Returns:
      this
    • lfTags

      @Stability(Stable) public CfnTagAssociation.Builder lfTags(List<? extends Object> lfTags)
      A structure containing an LF-tag key-value pair.

      Parameters:
      lfTags - A structure containing an LF-tag key-value pair. This parameter is required.
      Returns:
      this
    • resource

      @Stability(Stable) public CfnTagAssociation.Builder resource(IResolvable resource)
      UTF-8 string (valid values: DATABASE | TABLE ).

      The resource for which the LF-tag policy applies.

      Parameters:
      resource - UTF-8 string (valid values: DATABASE | TABLE ). This parameter is required.
      Returns:
      this
    • resource

      @Stability(Stable) public CfnTagAssociation.Builder resource(CfnTagAssociation.ResourceProperty resource)
      UTF-8 string (valid values: DATABASE | TABLE ).

      The resource for which the LF-tag policy applies.

      Parameters:
      resource - UTF-8 string (valid values: DATABASE | TABLE ). This parameter is required.
      Returns:
      this
    • build

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