Interface LFTagPolicyResource.Builder

All Superinterfaces:
Buildable, CopyableBuilder<LFTagPolicyResource.Builder,LFTagPolicyResource>, SdkBuilder<LFTagPolicyResource.Builder,LFTagPolicyResource>, SdkPojo
Enclosing class:
LFTagPolicyResource

public static interface LFTagPolicyResource.Builder extends SdkPojo, CopyableBuilder<LFTagPolicyResource.Builder,LFTagPolicyResource>
  • Method Details

    • catalogId

      LFTagPolicyResource.Builder catalogId(String catalogId)

      The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.

      Parameters:
      catalogId - The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceType

      LFTagPolicyResource.Builder resourceType(String resourceType)

      The resource type for which the LF-tag policy applies.

      Parameters:
      resourceType - The resource type for which the LF-tag policy applies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceType

      LFTagPolicyResource.Builder resourceType(ResourceType resourceType)

      The resource type for which the LF-tag policy applies.

      Parameters:
      resourceType - The resource type for which the LF-tag policy applies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • expression

      LFTagPolicyResource.Builder expression(Collection<LFTag> expression)

      A list of LF-tag conditions that apply to the resource's LF-tag policy.

      Parameters:
      expression - A list of LF-tag conditions that apply to the resource's LF-tag policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expression

      LFTagPolicyResource.Builder expression(LFTag... expression)

      A list of LF-tag conditions that apply to the resource's LF-tag policy.

      Parameters:
      expression - A list of LF-tag conditions that apply to the resource's LF-tag policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expression

      A list of LF-tag conditions that apply to the resource's LF-tag policy.

      This is a convenience method that creates an instance of the LFTag.Builder avoiding the need to create one manually via LFTag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to expression(List<LFTag>).

      Parameters:
      expression - a consumer that will call methods on LFTag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: