@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPermissionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListPermissionsRequest() |
Modifier and Type | Method and Description |
---|---|
ListPermissionsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCatalogId()
The identifier for the Data Catalog.
|
String |
getIncludeRelated()
Indicates that related permissions should be included in the results.
|
Integer |
getMaxResults()
The maximum number of results to return.
|
String |
getNextToken()
A continuation token, if this is not the first call to retrieve this list.
|
DataLakePrincipal |
getPrincipal()
Specifies a principal to filter the permissions returned.
|
Resource |
getResource()
A resource where you will get a list of the principal permissions.
|
String |
getResourceType()
Specifies a resource type to filter the permissions returned.
|
int |
hashCode() |
void |
setCatalogId(String catalogId)
The identifier for the Data Catalog.
|
void |
setIncludeRelated(String includeRelated)
Indicates that related permissions should be included in the results.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return.
|
void |
setNextToken(String nextToken)
A continuation token, if this is not the first call to retrieve this list.
|
void |
setPrincipal(DataLakePrincipal principal)
Specifies a principal to filter the permissions returned.
|
void |
setResource(Resource resource)
A resource where you will get a list of the principal permissions.
|
void |
setResourceType(String resourceType)
Specifies a resource type to filter the permissions returned.
|
String |
toString()
Returns a string representation of this object.
|
ListPermissionsRequest |
withCatalogId(String catalogId)
The identifier for the Data Catalog.
|
ListPermissionsRequest |
withIncludeRelated(String includeRelated)
Indicates that related permissions should be included in the results.
|
ListPermissionsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return.
|
ListPermissionsRequest |
withNextToken(String nextToken)
A continuation token, if this is not the first call to retrieve this list.
|
ListPermissionsRequest |
withPrincipal(DataLakePrincipal principal)
Specifies a principal to filter the permissions returned.
|
ListPermissionsRequest |
withResource(Resource resource)
A resource where you will get a list of the principal permissions.
|
ListPermissionsRequest |
withResourceType(DataLakeResourceType resourceType)
Specifies a resource type to filter the permissions returned.
|
ListPermissionsRequest |
withResourceType(String resourceType)
Specifies a resource type to filter the permissions returned.
|
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 ListPermissionsRequest 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)
Specifies a principal to filter the permissions returned.
principal
- Specifies a principal to filter the permissions returned.public DataLakePrincipal getPrincipal()
Specifies a principal to filter the permissions returned.
public ListPermissionsRequest withPrincipal(DataLakePrincipal principal)
Specifies a principal to filter the permissions returned.
principal
- Specifies a principal to filter the permissions returned.public void setResourceType(String resourceType)
Specifies a resource type to filter the permissions returned.
resourceType
- Specifies a resource type to filter the permissions returned.DataLakeResourceType
public String getResourceType()
Specifies a resource type to filter the permissions returned.
DataLakeResourceType
public ListPermissionsRequest withResourceType(String resourceType)
Specifies a resource type to filter the permissions returned.
resourceType
- Specifies a resource type to filter the permissions returned.DataLakeResourceType
public ListPermissionsRequest withResourceType(DataLakeResourceType resourceType)
Specifies a resource type to filter the permissions returned.
resourceType
- Specifies a resource type to filter the permissions returned.DataLakeResourceType
public void setResource(Resource resource)
A resource where you will get a list of the principal permissions.
This operation does not support getting privileges on a table with columns. Instead, call this operation on the table, and the operation returns the table and the table w columns.
resource
- A resource where you will get a list of the principal permissions.
This operation does not support getting privileges on a table with columns. Instead, call this operation on the table, and the operation returns the table and the table w columns.
public Resource getResource()
A resource where you will get a list of the principal permissions.
This operation does not support getting privileges on a table with columns. Instead, call this operation on the table, and the operation returns the table and the table w columns.
This operation does not support getting privileges on a table with columns. Instead, call this operation on the table, and the operation returns the table and the table w columns.
public ListPermissionsRequest withResource(Resource resource)
A resource where you will get a list of the principal permissions.
This operation does not support getting privileges on a table with columns. Instead, call this operation on the table, and the operation returns the table and the table w columns.
resource
- A resource where you will get a list of the principal permissions.
This operation does not support getting privileges on a table with columns. Instead, call this operation on the table, and the operation returns the table and the table w columns.
public void setNextToken(String nextToken)
A continuation token, if this is not the first call to retrieve this list.
nextToken
- A continuation token, if this is not the first call to retrieve this list.public String getNextToken()
A continuation token, if this is not the first call to retrieve this list.
public ListPermissionsRequest withNextToken(String nextToken)
A continuation token, if this is not the first call to retrieve this list.
nextToken
- A continuation token, if this is not the first call to retrieve this list.public void setMaxResults(Integer maxResults)
The maximum number of results to return.
maxResults
- The maximum number of results to return.public Integer getMaxResults()
The maximum number of results to return.
public ListPermissionsRequest withMaxResults(Integer maxResults)
The maximum number of results to return.
maxResults
- The maximum number of results to return.public void setIncludeRelated(String includeRelated)
Indicates that related permissions should be included in the results.
includeRelated
- Indicates that related permissions should be included in the results.public String getIncludeRelated()
Indicates that related permissions should be included in the results.
public ListPermissionsRequest withIncludeRelated(String includeRelated)
Indicates that related permissions should be included in the results.
includeRelated
- Indicates that related permissions should be included in the results.public String toString()
toString
in class Object
Object.toString()
public ListPermissionsRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2022. All rights reserved.