@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGrantPermissionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
BatchGrantPermissionsRequest() |
Modifier and Type | Method and Description |
---|---|
BatchGrantPermissionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCatalogId()
The identifier for the Data Catalog.
|
List<BatchPermissionsRequestEntry> |
getEntries()
A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.
|
int |
hashCode() |
void |
setCatalogId(String catalogId)
The identifier for the Data Catalog.
|
void |
setEntries(Collection<BatchPermissionsRequestEntry> entries)
A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.
|
String |
toString()
Returns a string representation of this object.
|
BatchGrantPermissionsRequest |
withCatalogId(String catalogId)
The identifier for the Data Catalog.
|
BatchGrantPermissionsRequest |
withEntries(BatchPermissionsRequestEntry... entries)
A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.
|
BatchGrantPermissionsRequest |
withEntries(Collection<BatchPermissionsRequestEntry> entries)
A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.
|
addHandlerContext, 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 BatchGrantPermissionsRequest 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 List<BatchPermissionsRequestEntry> getEntries()
A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.
public void setEntries(Collection<BatchPermissionsRequestEntry> entries)
A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.
entries
- A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.public BatchGrantPermissionsRequest withEntries(BatchPermissionsRequestEntry... entries)
A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.
NOTE: This method appends the values to the existing list (if any). Use
setEntries(java.util.Collection)
or withEntries(java.util.Collection)
if you want to override
the existing values.
entries
- A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.public BatchGrantPermissionsRequest withEntries(Collection<BatchPermissionsRequestEntry> entries)
A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.
entries
- A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.public String toString()
toString
in class Object
Object.toString()
public BatchGrantPermissionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()