Interface BatchPermissionsRequestEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchPermissionsRequestEntry.Builder,,BatchPermissionsRequestEntry> SdkBuilder<BatchPermissionsRequestEntry.Builder,,BatchPermissionsRequestEntry> SdkPojo
- Enclosing class:
BatchPermissionsRequestEntry
-
Method Summary
Modifier and TypeMethodDescriptionA 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.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:
-
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.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:
-
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.
-
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.
-