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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListPermissionsRequest.BuildercatalogId(String catalogId)The identifier for the Data Catalog.ListPermissionsRequest.BuilderincludeRelated(String includeRelated)Indicates that related permissions should be included in the results.ListPermissionsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return.ListPermissionsRequest.BuildernextToken(String nextToken)A continuation token, if this is not the first call to retrieve this list.ListPermissionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListPermissionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default ListPermissionsRequest.Builderprincipal(Consumer<DataLakePrincipal.Builder> principal)Specifies a principal to filter the permissions returned.ListPermissionsRequest.Builderprincipal(DataLakePrincipal principal)Specifies a principal to filter the permissions returned.default ListPermissionsRequest.Builderresource(Consumer<Resource.Builder> resource)A resource where you will get a list of the principal permissions.ListPermissionsRequest.Builderresource(Resource resource)A resource where you will get a list of the principal permissions.ListPermissionsRequest.BuilderresourceType(String resourceType)Specifies a resource type to filter the permissions returned.ListPermissionsRequest.BuilderresourceType(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 Detail
-
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
ListPermissionsRequest.Builder principal(DataLakePrincipal 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
default ListPermissionsRequest.Builder principal(Consumer<DataLakePrincipal.Builder> principal)
Specifies a principal to filter the permissions returned.
This is a convenience method that creates an instance of theDataLakePrincipal.Builderavoiding the need to create one manually viaDataLakePrincipal.builder().When the
Consumercompletes,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:
principal(DataLakePrincipal)
-
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:
DataLakeResourceType,DataLakeResourceType
-
resourceType
ListPermissionsRequest.Builder resourceType(DataLakeResourceType 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:
DataLakeResourceType,DataLakeResourceType
-
resource
ListPermissionsRequest.Builder resource(Resource 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
default ListPermissionsRequest.Builder resource(Consumer<Resource.Builder> 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.Builderavoiding the need to create one manually viaResource.builder().When the
Consumercompletes,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:
resource(Resource)
-
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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListPermissionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-