Interface BatchGrantPermissionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchGrantPermissionsRequest.Builder,
,BatchGrantPermissionsRequest> LakeFormationRequest.Builder
,SdkBuilder<BatchGrantPermissionsRequest.Builder,
,BatchGrantPermissionsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
BatchGrantPermissionsRequest
public static interface BatchGrantPermissionsRequest.Builder
extends LakeFormationRequest.Builder, SdkPojo, CopyableBuilder<BatchGrantPermissionsRequest.Builder,BatchGrantPermissionsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier for the Data Catalog.entries
(Collection<BatchPermissionsRequestEntry> entries) A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.entries
(Consumer<BatchPermissionsRequestEntry.Builder>... entries) A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.entries
(BatchPermissionsRequestEntry... entries) A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.
-
entries
A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.
- Parameters:
entries
- A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.
- Parameters:
entries
- A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
BatchGrantPermissionsRequest.Builder entries(Consumer<BatchPermissionsRequestEntry.Builder>... entries) A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.
This is a convenience method that creates an instance of theBatchPermissionsRequestEntry.Builder
avoiding the need to create one manually viaBatchPermissionsRequestEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentries(List<BatchPermissionsRequestEntry>)
.- Parameters:
entries
- a consumer that will call methods onBatchPermissionsRequestEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchGrantPermissionsRequest.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
BatchGrantPermissionsRequest.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.
-