Interface RevokePermissionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RevokePermissionsRequest.Builder,RevokePermissionsRequest>,LakeFormationRequest.Builder,SdkBuilder<RevokePermissionsRequest.Builder,RevokePermissionsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- RevokePermissionsRequest
public static interface RevokePermissionsRequest.Builder extends LakeFormationRequest.Builder, SdkPojo, CopyableBuilder<RevokePermissionsRequest.Builder,RevokePermissionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RevokePermissionsRequest.BuildercatalogId(String catalogId)The identifier for the Data Catalog.RevokePermissionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)RevokePermissionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)RevokePermissionsRequest.Builderpermissions(Collection<Permission> permissions)The permissions revoked to the principal on the resource.RevokePermissionsRequest.Builderpermissions(Permission... permissions)The permissions revoked to the principal on the resource.RevokePermissionsRequest.BuilderpermissionsWithGrantOption(Collection<Permission> permissionsWithGrantOption)Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.RevokePermissionsRequest.BuilderpermissionsWithGrantOption(Permission... permissionsWithGrantOption)Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.RevokePermissionsRequest.BuilderpermissionsWithGrantOptionWithStrings(String... permissionsWithGrantOption)Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.RevokePermissionsRequest.BuilderpermissionsWithGrantOptionWithStrings(Collection<String> permissionsWithGrantOption)Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.RevokePermissionsRequest.BuilderpermissionsWithStrings(String... permissions)The permissions revoked to the principal on the resource.RevokePermissionsRequest.BuilderpermissionsWithStrings(Collection<String> permissions)The permissions revoked to the principal on the resource.default RevokePermissionsRequest.Builderprincipal(Consumer<DataLakePrincipal.Builder> principal)The principal to be revoked permissions on the resource.RevokePermissionsRequest.Builderprincipal(DataLakePrincipal principal)The principal to be revoked permissions on the resource.default RevokePermissionsRequest.Builderresource(Consumer<Resource.Builder> resource)The resource to which permissions are to be revoked.RevokePermissionsRequest.Builderresource(Resource resource)The resource to which permissions are to be revoked.-
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
RevokePermissionsRequest.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
RevokePermissionsRequest.Builder principal(DataLakePrincipal principal)
The principal to be revoked permissions on the resource.
- Parameters:
principal- The principal to be revoked permissions on the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
default RevokePermissionsRequest.Builder principal(Consumer<DataLakePrincipal.Builder> principal)
The principal to be revoked permissions on the resource.
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)
-
resource
RevokePermissionsRequest.Builder resource(Resource resource)
The resource to which permissions are to be revoked.
- Parameters:
resource- The resource to which permissions are to be revoked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
default RevokePermissionsRequest.Builder resource(Consumer<Resource.Builder> resource)
The resource to which permissions are to be revoked.
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)
-
permissionsWithStrings
RevokePermissionsRequest.Builder permissionsWithStrings(Collection<String> permissions)
The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.
- Parameters:
permissions- The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionsWithStrings
RevokePermissionsRequest.Builder permissionsWithStrings(String... permissions)
The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.
- Parameters:
permissions- The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
RevokePermissionsRequest.Builder permissions(Collection<Permission> permissions)
The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.
- Parameters:
permissions- The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
RevokePermissionsRequest.Builder permissions(Permission... permissions)
The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.
- Parameters:
permissions- The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionsWithGrantOptionWithStrings
RevokePermissionsRequest.Builder permissionsWithGrantOptionWithStrings(Collection<String> permissionsWithGrantOption)
Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.
- Parameters:
permissionsWithGrantOption- Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionsWithGrantOptionWithStrings
RevokePermissionsRequest.Builder permissionsWithGrantOptionWithStrings(String... permissionsWithGrantOption)
Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.
- Parameters:
permissionsWithGrantOption- Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionsWithGrantOption
RevokePermissionsRequest.Builder permissionsWithGrantOption(Collection<Permission> permissionsWithGrantOption)
Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.
- Parameters:
permissionsWithGrantOption- Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionsWithGrantOption
RevokePermissionsRequest.Builder permissionsWithGrantOption(Permission... permissionsWithGrantOption)
Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.
- Parameters:
permissionsWithGrantOption- Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RevokePermissionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
RevokePermissionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-