Interface BatchPermissionsRequestEntry.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchPermissionsRequestEntry.Builder,
,BatchPermissionsRequestEntry> SdkBuilder<BatchPermissionsRequestEntry.Builder,
,BatchPermissionsRequestEntry> SdkPojo
- Enclosing class:
BatchPermissionsRequestEntry
-
Method Summary
Modifier and TypeMethodDescriptioncondition
(Consumer<Condition.Builder> condition) Sets the value of the Condition property for this object.Sets the value of the Condition property for this object.A unique identifier for the batch permissions request entry.permissions
(Collection<Permission> permissions) The permissions to be granted.permissions
(Permission... permissions) The permissions to be granted.permissionsWithGrantOption
(Collection<Permission> permissionsWithGrantOption) Indicates if the option to pass permissions is granted.permissionsWithGrantOption
(Permission... permissionsWithGrantOption) Indicates if the option to pass permissions is granted.permissionsWithGrantOptionWithStrings
(String... permissionsWithGrantOption) Indicates if the option to pass permissions is granted.permissionsWithGrantOptionWithStrings
(Collection<String> permissionsWithGrantOption) Indicates if the option to pass permissions is granted.permissionsWithStrings
(String... permissions) The permissions to be granted.permissionsWithStrings
(Collection<String> permissions) The permissions to be granted.principal
(Consumer<DataLakePrincipal.Builder> principal) The principal to be granted a permission.principal
(DataLakePrincipal principal) The principal to be granted a permission.resource
(Consumer<Resource.Builder> resource) The resource to which the principal is to be granted a permission.The resource to which the principal is to be granted a permission.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
A unique identifier for the batch permissions request entry.
- Parameters:
id
- A unique identifier for the batch permissions request entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
The principal to be granted a permission.
- Parameters:
principal
- The principal to be granted a permission.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
default BatchPermissionsRequestEntry.Builder principal(Consumer<DataLakePrincipal.Builder> principal) The principal to be granted a permission.
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:
-
resource
The resource to which the principal is to be granted a permission.
- Parameters:
resource
- The resource to which the principal is to be granted a permission.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
The resource to which the principal is to be granted a permission.
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:
-
permissionsWithStrings
The permissions to be granted.
- Parameters:
permissions
- The permissions to be granted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionsWithStrings
The permissions to be granted.
- Parameters:
permissions
- The permissions to be granted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
The permissions to be granted.
- Parameters:
permissions
- The permissions to be granted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
The permissions to be granted.
- Parameters:
permissions
- The permissions to be granted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
condition
Sets the value of the Condition property for this object.- Parameters:
condition
- The new value for the Condition property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
condition
Sets the value of the Condition property for this object. This is a convenience method that creates an instance of theCondition.Builder
avoiding the need to create one manually viaCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocondition(Condition)
.- Parameters:
condition
- a consumer that will call methods onCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
permissionsWithGrantOptionWithStrings
BatchPermissionsRequestEntry.Builder permissionsWithGrantOptionWithStrings(Collection<String> permissionsWithGrantOption) Indicates if the option to pass permissions is granted.
- Parameters:
permissionsWithGrantOption
- Indicates if the option to pass permissions is granted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionsWithGrantOptionWithStrings
BatchPermissionsRequestEntry.Builder permissionsWithGrantOptionWithStrings(String... permissionsWithGrantOption) Indicates if the option to pass permissions is granted.
- Parameters:
permissionsWithGrantOption
- Indicates if the option to pass permissions is granted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionsWithGrantOption
BatchPermissionsRequestEntry.Builder permissionsWithGrantOption(Collection<Permission> permissionsWithGrantOption) Indicates if the option to pass permissions is granted.
- Parameters:
permissionsWithGrantOption
- Indicates if the option to pass permissions is granted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionsWithGrantOption
BatchPermissionsRequestEntry.Builder permissionsWithGrantOption(Permission... permissionsWithGrantOption) Indicates if the option to pass permissions is granted.
- Parameters:
permissionsWithGrantOption
- Indicates if the option to pass permissions is granted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-