Interface ListPermissionsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ListPermissionsRequest.Builder,ListPermissionsRequest>, LakeFormationRequest.Builder, SdkBuilder<ListPermissionsRequest.Builder,ListPermissionsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ListPermissionsRequest

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

    • catalogId

      ListPermissionsRequest.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.
    • principal

      Specifies a principal to filter the permissions returned.

      Parameters:
      principal - Specifies a principal to filter the permissions returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • principal

      Specifies a principal to filter the permissions returned.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to principal(DataLakePrincipal).

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

      ListPermissionsRequest.Builder resourceType(String resourceType)

      Specifies a resource type to filter the permissions returned.

      Parameters:
      resourceType - Specifies a resource type to filter the permissions returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceType

      Specifies a resource type to filter the permissions returned.

      Parameters:
      resourceType - Specifies a resource type to filter the permissions returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resource

      A resource where you will get a list of the principal permissions.

      This operation does not support getting privileges on a table with columns. Instead, call this operation on the table, and the operation returns the table and the table w columns.

      Parameters:
      resource - A resource where you will get a list of the principal permissions.

      This operation does not support getting privileges on a table with columns. Instead, call this operation on the table, and the operation returns the table and the table w columns.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resource

      A resource where you will get a list of the principal permissions.

      This operation does not support getting privileges on a table with columns. Instead, call this operation on the table, and the operation returns the table and the table w columns.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resource(Resource).

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

      ListPermissionsRequest.Builder nextToken(String nextToken)

      A continuation token, if this is not the first call to retrieve this list.

      Parameters:
      nextToken - A continuation token, if this is not the first call to retrieve this list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      ListPermissionsRequest.Builder maxResults(Integer maxResults)

      The maximum number of results to return.

      Parameters:
      maxResults - The maximum number of results to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • includeRelated

      ListPermissionsRequest.Builder includeRelated(String includeRelated)

      Indicates that related permissions should be included in the results.

      Parameters:
      includeRelated - Indicates that related permissions should be included in the results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ListPermissionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.