public static interface GrantPermissionsRequest.Builder extends LakeFormationRequest.Builder, SdkPojo, CopyableBuilder<GrantPermissionsRequest.Builder,GrantPermissionsRequest>
| Modifier and Type | Method and Description |
|---|---|
GrantPermissionsRequest.Builder |
catalogId(String catalogId)
The identifier for the Data Catalog.
|
GrantPermissionsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
GrantPermissionsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
GrantPermissionsRequest.Builder |
permissions(Collection<Permission> permissions)
The permissions granted to the principal on the resource.
|
GrantPermissionsRequest.Builder |
permissions(Permission... permissions)
The permissions granted to the principal on the resource.
|
GrantPermissionsRequest.Builder |
permissionsWithGrantOption(Collection<Permission> permissionsWithGrantOption)
Indicates a list of the granted permissions that the principal may pass to other users.
|
GrantPermissionsRequest.Builder |
permissionsWithGrantOption(Permission... permissionsWithGrantOption)
Indicates a list of the granted permissions that the principal may pass to other users.
|
GrantPermissionsRequest.Builder |
permissionsWithGrantOptionWithStrings(Collection<String> permissionsWithGrantOption)
Indicates a list of the granted permissions that the principal may pass to other users.
|
GrantPermissionsRequest.Builder |
permissionsWithGrantOptionWithStrings(String... permissionsWithGrantOption)
Indicates a list of the granted permissions that the principal may pass to other users.
|
GrantPermissionsRequest.Builder |
permissionsWithStrings(Collection<String> permissions)
The permissions granted to the principal on the resource.
|
GrantPermissionsRequest.Builder |
permissionsWithStrings(String... permissions)
The permissions granted to the principal on the resource.
|
default GrantPermissionsRequest.Builder |
principal(Consumer<DataLakePrincipal.Builder> principal)
The principal to be granted the permissions on the resource.
|
GrantPermissionsRequest.Builder |
principal(DataLakePrincipal principal)
The principal to be granted the permissions on the resource.
|
default GrantPermissionsRequest.Builder |
resource(Consumer<Resource.Builder> resource)
The resource to which permissions are to be granted.
|
GrantPermissionsRequest.Builder |
resource(Resource resource)
The resource to which permissions are to be granted.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildGrantPermissionsRequest.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 AWS Lake Formation environment.
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 AWS Lake Formation environment.GrantPermissionsRequest.Builder principal(DataLakePrincipal principal)
The principal to be granted the permissions on the resource. Supported principals are IAM users or IAM roles, and they are defined by their principal type and their ARN.
Note that if you define a resource with a particular ARN, then later delete, and recreate a resource with that same ARN, the resource maintains the permissions already granted.
principal - The principal to be granted the permissions on the resource. Supported principals are IAM users or IAM
roles, and they are defined by their principal type and their ARN.
Note that if you define a resource with a particular ARN, then later delete, and recreate a resource with that same ARN, the resource maintains the permissions already granted.
default GrantPermissionsRequest.Builder principal(Consumer<DataLakePrincipal.Builder> principal)
The principal to be granted the permissions on the resource. Supported principals are IAM users or IAM roles, and they are defined by their principal type and their ARN.
Note that if you define a resource with a particular ARN, then later delete, and recreate a resource with that same ARN, the resource maintains the permissions already granted.
This is a convenience that creates an instance of theDataLakePrincipal.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).principal - a consumer that will call methods on DataLakePrincipal.Builderprincipal(DataLakePrincipal)GrantPermissionsRequest.Builder resource(Resource resource)
The resource to which permissions are to be granted. Resources in AWS Lake Formation are the Data Catalog, databases, and tables.
resource - The resource to which permissions are to be granted. Resources in AWS Lake Formation are the Data
Catalog, databases, and tables.default GrantPermissionsRequest.Builder resource(Consumer<Resource.Builder> resource)
The resource to which permissions are to be granted. Resources in AWS Lake Formation are the Data Catalog, databases, and tables.
This is a convenience that creates an instance of theResource.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).resource - a consumer that will call methods on Resource.Builderresource(Resource)GrantPermissionsRequest.Builder permissionsWithStrings(Collection<String> permissions)
The permissions granted to the principal on the resource. AWS Lake Formation defines privileges to grant and revoke access to metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3. AWS Lake Formation requires that each principal be authorized to perform a specific task on AWS Lake Formation resources.
permissions - The permissions granted to the principal on the resource. AWS Lake Formation defines privileges to
grant and revoke access to metadata in the Data Catalog and data organized in underlying data storage
such as Amazon S3. AWS Lake Formation requires that each principal be authorized to perform a specific
task on AWS Lake Formation resources.GrantPermissionsRequest.Builder permissionsWithStrings(String... permissions)
The permissions granted to the principal on the resource. AWS Lake Formation defines privileges to grant and revoke access to metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3. AWS Lake Formation requires that each principal be authorized to perform a specific task on AWS Lake Formation resources.
permissions - The permissions granted to the principal on the resource. AWS Lake Formation defines privileges to
grant and revoke access to metadata in the Data Catalog and data organized in underlying data storage
such as Amazon S3. AWS Lake Formation requires that each principal be authorized to perform a specific
task on AWS Lake Formation resources.GrantPermissionsRequest.Builder permissions(Collection<Permission> permissions)
The permissions granted to the principal on the resource. AWS Lake Formation defines privileges to grant and revoke access to metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3. AWS Lake Formation requires that each principal be authorized to perform a specific task on AWS Lake Formation resources.
permissions - The permissions granted to the principal on the resource. AWS Lake Formation defines privileges to
grant and revoke access to metadata in the Data Catalog and data organized in underlying data storage
such as Amazon S3. AWS Lake Formation requires that each principal be authorized to perform a specific
task on AWS Lake Formation resources.GrantPermissionsRequest.Builder permissions(Permission... permissions)
The permissions granted to the principal on the resource. AWS Lake Formation defines privileges to grant and revoke access to metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3. AWS Lake Formation requires that each principal be authorized to perform a specific task on AWS Lake Formation resources.
permissions - The permissions granted to the principal on the resource. AWS Lake Formation defines privileges to
grant and revoke access to metadata in the Data Catalog and data organized in underlying data storage
such as Amazon S3. AWS Lake Formation requires that each principal be authorized to perform a specific
task on AWS Lake Formation resources.GrantPermissionsRequest.Builder permissionsWithGrantOptionWithStrings(Collection<String> permissionsWithGrantOption)
Indicates a list of the granted permissions that the principal may pass to other users. These permissions may
only be a subset of the permissions granted in the Privileges.
permissionsWithGrantOption - Indicates a list of the granted permissions that the principal may pass to other users. These
permissions may only be a subset of the permissions granted in the Privileges.GrantPermissionsRequest.Builder permissionsWithGrantOptionWithStrings(String... permissionsWithGrantOption)
Indicates a list of the granted permissions that the principal may pass to other users. These permissions may
only be a subset of the permissions granted in the Privileges.
permissionsWithGrantOption - Indicates a list of the granted permissions that the principal may pass to other users. These
permissions may only be a subset of the permissions granted in the Privileges.GrantPermissionsRequest.Builder permissionsWithGrantOption(Collection<Permission> permissionsWithGrantOption)
Indicates a list of the granted permissions that the principal may pass to other users. These permissions may
only be a subset of the permissions granted in the Privileges.
permissionsWithGrantOption - Indicates a list of the granted permissions that the principal may pass to other users. These
permissions may only be a subset of the permissions granted in the Privileges.GrantPermissionsRequest.Builder permissionsWithGrantOption(Permission... permissionsWithGrantOption)
Indicates a list of the granted permissions that the principal may pass to other users. These permissions may
only be a subset of the permissions granted in the Privileges.
permissionsWithGrantOption - Indicates a list of the granted permissions that the principal may pass to other users. These
permissions may only be a subset of the permissions granted in the Privileges.GrantPermissionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGrantPermissionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2019. All rights reserved.