Interface ListPermissionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListPermissionsRequest.Builder,
,ListPermissionsRequest> LakeFormationRequest.Builder
,SdkBuilder<ListPermissionsRequest.Builder,
,ListPermissionsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListPermissionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier for the Data Catalog.includeRelated
(String includeRelated) Indicates that related permissions should be included in the results.maxResults
(Integer maxResults) The maximum number of results to return.A continuation token, if this is not the first call to retrieve this list.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default ListPermissionsRequest.Builder
principal
(Consumer<DataLakePrincipal.Builder> principal) Specifies a principal to filter the permissions returned.principal
(DataLakePrincipal principal) Specifies a principal to filter the permissions returned.default ListPermissionsRequest.Builder
resource
(Consumer<Resource.Builder> resource) A resource where you will get a list of the principal permissions.A resource where you will get a list of the principal permissions.resourceType
(String resourceType) Specifies a resource type to filter the permissions returned.resourceType
(DataLakeResourceType resourceType) Specifies a resource type to filter the permissions returned.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lakeformation.model.LakeFormationRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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 theDataLakePrincipal.Builder
avoiding the need to create one manually viaDataLakePrincipal.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprincipal(DataLakePrincipal)
.- Parameters:
principal
- a consumer that will call methods onDataLakePrincipal.Builder
- 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:
-
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 theResource.Builder
avoiding the need to create one manually viaResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresource(Resource)
.- Parameters:
resource
- a consumer that will call methods onResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListPermissionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-