@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RevokePermissionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RevokePermissionsRequest() |
Modifier and Type | Method and Description |
---|---|
RevokePermissionsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCatalogId()
The identifier for the Data Catalog.
|
List<String> |
getPermissions()
The permissions revoked to the principal on the resource.
|
List<String> |
getPermissionsWithGrantOption()
Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions
to other principals.
|
DataLakePrincipal |
getPrincipal()
The principal to be revoked permissions on the resource.
|
Resource |
getResource()
The resource to which permissions are to be revoked.
|
int |
hashCode() |
void |
setCatalogId(String catalogId)
The identifier for the Data Catalog.
|
void |
setPermissions(Collection<String> permissions)
The permissions revoked to the principal on the resource.
|
void |
setPermissionsWithGrantOption(Collection<String> permissionsWithGrantOption)
Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions
to other principals.
|
void |
setPrincipal(DataLakePrincipal principal)
The principal to be revoked permissions on the resource.
|
void |
setResource(Resource resource)
The resource to which permissions are to be revoked.
|
String |
toString()
Returns a string representation of this object.
|
RevokePermissionsRequest |
withCatalogId(String catalogId)
The identifier for the Data Catalog.
|
RevokePermissionsRequest |
withPermissions(Collection<String> permissions)
The permissions revoked to the principal on the resource.
|
RevokePermissionsRequest |
withPermissions(Permission... permissions)
The permissions revoked to the principal on the resource.
|
RevokePermissionsRequest |
withPermissions(String... permissions)
The permissions revoked to the principal on the resource.
|
RevokePermissionsRequest |
withPermissionsWithGrantOption(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 |
withPermissionsWithGrantOption(Permission... permissionsWithGrantOption)
Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions
to other principals.
|
RevokePermissionsRequest |
withPermissionsWithGrantOption(String... permissionsWithGrantOption)
Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions
to other principals.
|
RevokePermissionsRequest |
withPrincipal(DataLakePrincipal principal)
The principal to be revoked permissions on the resource.
|
RevokePermissionsRequest |
withResource(Resource resource)
The resource to which permissions are to be revoked.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCatalogId(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.
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.public String getCatalogId()
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.
public RevokePermissionsRequest withCatalogId(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.
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.public void setPrincipal(DataLakePrincipal principal)
The principal to be revoked permissions on the resource.
principal
- The principal to be revoked permissions on the resource.public DataLakePrincipal getPrincipal()
The principal to be revoked permissions on the resource.
public RevokePermissionsRequest withPrincipal(DataLakePrincipal principal)
The principal to be revoked permissions on the resource.
principal
- The principal to be revoked permissions on the resource.public void setResource(Resource resource)
The resource to which permissions are to be revoked.
resource
- The resource to which permissions are to be revoked.public Resource getResource()
The resource to which permissions are to be revoked.
public RevokePermissionsRequest withResource(Resource resource)
The resource to which permissions are to be revoked.
resource
- The resource to which permissions are to be revoked.public List<String> getPermissions()
The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.
Permission
public void setPermissions(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.
permissions
- The permissions revoked to the principal on the resource. For information about permissions, see Security and Access
Control to Metadata and Data.Permission
public RevokePermissionsRequest withPermissions(String... permissions)
The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.
NOTE: This method appends the values to the existing list (if any). Use
setPermissions(java.util.Collection)
or withPermissions(java.util.Collection)
if you want to
override the existing values.
permissions
- The permissions revoked to the principal on the resource. For information about permissions, see Security and Access
Control to Metadata and Data.Permission
public RevokePermissionsRequest withPermissions(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.
permissions
- The permissions revoked to the principal on the resource. For information about permissions, see Security and Access
Control to Metadata and Data.Permission
public RevokePermissionsRequest withPermissions(Permission... permissions)
The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.
permissions
- The permissions revoked to the principal on the resource. For information about permissions, see Security and Access
Control to Metadata and Data.Permission
public List<String> getPermissionsWithGrantOption()
Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.
Permission
public void setPermissionsWithGrantOption(Collection<String> permissionsWithGrantOption)
Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.
permissionsWithGrantOption
- Indicates a list of permissions for which to revoke the grant option allowing the principal to pass
permissions to other principals.Permission
public RevokePermissionsRequest withPermissionsWithGrantOption(String... permissionsWithGrantOption)
Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.
NOTE: This method appends the values to the existing list (if any). Use
setPermissionsWithGrantOption(java.util.Collection)
or
withPermissionsWithGrantOption(java.util.Collection)
if you want to override the existing values.
permissionsWithGrantOption
- Indicates a list of permissions for which to revoke the grant option allowing the principal to pass
permissions to other principals.Permission
public RevokePermissionsRequest withPermissionsWithGrantOption(Collection<String> permissionsWithGrantOption)
Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.
permissionsWithGrantOption
- Indicates a list of permissions for which to revoke the grant option allowing the principal to pass
permissions to other principals.Permission
public RevokePermissionsRequest withPermissionsWithGrantOption(Permission... permissionsWithGrantOption)
Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.
permissionsWithGrantOption
- Indicates a list of permissions for which to revoke the grant option allowing the principal to pass
permissions to other principals.Permission
public String toString()
toString
in class Object
Object.toString()
public RevokePermissionsRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2023. All rights reserved.