@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LakeFormationDataPermissionAsset extends Object implements Serializable, Cloneable, StructuredPojo
The AWS Lake Formation data permission asset.
| Constructor and Description |
|---|
LakeFormationDataPermissionAsset() |
| Modifier and Type | Method and Description |
|---|---|
LakeFormationDataPermissionAsset |
clone() |
boolean |
equals(Object obj) |
LakeFormationDataPermissionDetails |
getLakeFormationDataPermissionDetails()
Details about the AWS Lake Formation data permission.
|
String |
getLakeFormationDataPermissionType()
The data permission type.
|
List<String> |
getPermissions()
The permissions granted to the subscribers on the resource.
|
String |
getRoleArn()
The IAM role's ARN that allows AWS Data Exchange to assume the role and grant and revoke permissions to AWS Lake
Formation data permissions.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLakeFormationDataPermissionDetails(LakeFormationDataPermissionDetails lakeFormationDataPermissionDetails)
Details about the AWS Lake Formation data permission.
|
void |
setLakeFormationDataPermissionType(String lakeFormationDataPermissionType)
The data permission type.
|
void |
setPermissions(Collection<String> permissions)
The permissions granted to the subscribers on the resource.
|
void |
setRoleArn(String roleArn)
The IAM role's ARN that allows AWS Data Exchange to assume the role and grant and revoke permissions to AWS Lake
Formation data permissions.
|
String |
toString()
Returns a string representation of this object.
|
LakeFormationDataPermissionAsset |
withLakeFormationDataPermissionDetails(LakeFormationDataPermissionDetails lakeFormationDataPermissionDetails)
Details about the AWS Lake Formation data permission.
|
LakeFormationDataPermissionAsset |
withLakeFormationDataPermissionType(LakeFormationDataPermissionType lakeFormationDataPermissionType)
The data permission type.
|
LakeFormationDataPermissionAsset |
withLakeFormationDataPermissionType(String lakeFormationDataPermissionType)
The data permission type.
|
LakeFormationDataPermissionAsset |
withPermissions(Collection<String> permissions)
The permissions granted to the subscribers on the resource.
|
LakeFormationDataPermissionAsset |
withPermissions(LFPermission... permissions)
The permissions granted to the subscribers on the resource.
|
LakeFormationDataPermissionAsset |
withPermissions(String... permissions)
The permissions granted to the subscribers on the resource.
|
LakeFormationDataPermissionAsset |
withRoleArn(String roleArn)
The IAM role's ARN that allows AWS Data Exchange to assume the role and grant and revoke permissions to AWS Lake
Formation data permissions.
|
public void setLakeFormationDataPermissionDetails(LakeFormationDataPermissionDetails lakeFormationDataPermissionDetails)
Details about the AWS Lake Formation data permission.
lakeFormationDataPermissionDetails - Details about the AWS Lake Formation data permission.public LakeFormationDataPermissionDetails getLakeFormationDataPermissionDetails()
Details about the AWS Lake Formation data permission.
public LakeFormationDataPermissionAsset withLakeFormationDataPermissionDetails(LakeFormationDataPermissionDetails lakeFormationDataPermissionDetails)
Details about the AWS Lake Formation data permission.
lakeFormationDataPermissionDetails - Details about the AWS Lake Formation data permission.public void setLakeFormationDataPermissionType(String lakeFormationDataPermissionType)
The data permission type.
lakeFormationDataPermissionType - The data permission type.LakeFormationDataPermissionTypepublic String getLakeFormationDataPermissionType()
The data permission type.
LakeFormationDataPermissionTypepublic LakeFormationDataPermissionAsset withLakeFormationDataPermissionType(String lakeFormationDataPermissionType)
The data permission type.
lakeFormationDataPermissionType - The data permission type.LakeFormationDataPermissionTypepublic LakeFormationDataPermissionAsset withLakeFormationDataPermissionType(LakeFormationDataPermissionType lakeFormationDataPermissionType)
The data permission type.
lakeFormationDataPermissionType - The data permission type.LakeFormationDataPermissionTypepublic List<String> getPermissions()
The permissions granted to the subscribers on the resource.
LFPermissionpublic void setPermissions(Collection<String> permissions)
The permissions granted to the subscribers on the resource.
permissions - The permissions granted to the subscribers on the resource.LFPermissionpublic LakeFormationDataPermissionAsset withPermissions(String... permissions)
The permissions granted to the subscribers on the resource.
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 granted to the subscribers on the resource.LFPermissionpublic LakeFormationDataPermissionAsset withPermissions(Collection<String> permissions)
The permissions granted to the subscribers on the resource.
permissions - The permissions granted to the subscribers on the resource.LFPermissionpublic LakeFormationDataPermissionAsset withPermissions(LFPermission... permissions)
The permissions granted to the subscribers on the resource.
permissions - The permissions granted to the subscribers on the resource.LFPermissionpublic void setRoleArn(String roleArn)
The IAM role's ARN that allows AWS Data Exchange to assume the role and grant and revoke permissions to AWS Lake Formation data permissions.
roleArn - The IAM role's ARN that allows AWS Data Exchange to assume the role and grant and revoke permissions to
AWS Lake Formation data permissions.public String getRoleArn()
The IAM role's ARN that allows AWS Data Exchange to assume the role and grant and revoke permissions to AWS Lake Formation data permissions.
public LakeFormationDataPermissionAsset withRoleArn(String roleArn)
The IAM role's ARN that allows AWS Data Exchange to assume the role and grant and revoke permissions to AWS Lake Formation data permissions.
roleArn - The IAM role's ARN that allows AWS Data Exchange to assume the role and grant and revoke permissions to
AWS Lake Formation data permissions.public String toString()
toString in class ObjectObject.toString()public LakeFormationDataPermissionAsset clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.