@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataLakeSettings extends Object implements Serializable, Cloneable, StructuredPojo
A structure representing a list of AWS Lake Formation principals designated as data lake administrators and lists of principal permission entries for default create database and default create table permissions.
Constructor and Description |
---|
DataLakeSettings() |
Modifier and Type | Method and Description |
---|---|
DataLakeSettings |
clone() |
boolean |
equals(Object obj) |
List<PrincipalPermissions> |
getCreateDatabaseDefaultPermissions()
A structure representing a list of up to three principal permissions entries for default create database
permissions.
|
List<PrincipalPermissions> |
getCreateTableDefaultPermissions()
A structure representing a list of up to three principal permissions entries for default create table
permissions.
|
List<DataLakePrincipal> |
getDataLakeAdmins()
A list of AWS Lake Formation principals.
|
List<String> |
getTrustedResourceOwners()
A list of the resource-owning account IDs that the caller's account can use to share their user access details
(user ARNs).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreateDatabaseDefaultPermissions(Collection<PrincipalPermissions> createDatabaseDefaultPermissions)
A structure representing a list of up to three principal permissions entries for default create database
permissions.
|
void |
setCreateTableDefaultPermissions(Collection<PrincipalPermissions> createTableDefaultPermissions)
A structure representing a list of up to three principal permissions entries for default create table
permissions.
|
void |
setDataLakeAdmins(Collection<DataLakePrincipal> dataLakeAdmins)
A list of AWS Lake Formation principals.
|
void |
setTrustedResourceOwners(Collection<String> trustedResourceOwners)
A list of the resource-owning account IDs that the caller's account can use to share their user access details
(user ARNs).
|
String |
toString()
Returns a string representation of this object.
|
DataLakeSettings |
withCreateDatabaseDefaultPermissions(Collection<PrincipalPermissions> createDatabaseDefaultPermissions)
A structure representing a list of up to three principal permissions entries for default create database
permissions.
|
DataLakeSettings |
withCreateDatabaseDefaultPermissions(PrincipalPermissions... createDatabaseDefaultPermissions)
A structure representing a list of up to three principal permissions entries for default create database
permissions.
|
DataLakeSettings |
withCreateTableDefaultPermissions(Collection<PrincipalPermissions> createTableDefaultPermissions)
A structure representing a list of up to three principal permissions entries for default create table
permissions.
|
DataLakeSettings |
withCreateTableDefaultPermissions(PrincipalPermissions... createTableDefaultPermissions)
A structure representing a list of up to three principal permissions entries for default create table
permissions.
|
DataLakeSettings |
withDataLakeAdmins(Collection<DataLakePrincipal> dataLakeAdmins)
A list of AWS Lake Formation principals.
|
DataLakeSettings |
withDataLakeAdmins(DataLakePrincipal... dataLakeAdmins)
A list of AWS Lake Formation principals.
|
DataLakeSettings |
withTrustedResourceOwners(Collection<String> trustedResourceOwners)
A list of the resource-owning account IDs that the caller's account can use to share their user access details
(user ARNs).
|
DataLakeSettings |
withTrustedResourceOwners(String... trustedResourceOwners)
A list of the resource-owning account IDs that the caller's account can use to share their user access details
(user ARNs).
|
public List<DataLakePrincipal> getDataLakeAdmins()
A list of AWS Lake Formation principals. Supported principals are IAM users or IAM roles.
public void setDataLakeAdmins(Collection<DataLakePrincipal> dataLakeAdmins)
A list of AWS Lake Formation principals. Supported principals are IAM users or IAM roles.
dataLakeAdmins
- A list of AWS Lake Formation principals. Supported principals are IAM users or IAM roles.public DataLakeSettings withDataLakeAdmins(DataLakePrincipal... dataLakeAdmins)
A list of AWS Lake Formation principals. Supported principals are IAM users or IAM roles.
NOTE: This method appends the values to the existing list (if any). Use
setDataLakeAdmins(java.util.Collection)
or withDataLakeAdmins(java.util.Collection)
if you want
to override the existing values.
dataLakeAdmins
- A list of AWS Lake Formation principals. Supported principals are IAM users or IAM roles.public DataLakeSettings withDataLakeAdmins(Collection<DataLakePrincipal> dataLakeAdmins)
A list of AWS Lake Formation principals. Supported principals are IAM users or IAM roles.
dataLakeAdmins
- A list of AWS Lake Formation principals. Supported principals are IAM users or IAM roles.public List<PrincipalPermissions> getCreateDatabaseDefaultPermissions()
A structure representing a list of up to three principal permissions entries for default create database permissions.
public void setCreateDatabaseDefaultPermissions(Collection<PrincipalPermissions> createDatabaseDefaultPermissions)
A structure representing a list of up to three principal permissions entries for default create database permissions.
createDatabaseDefaultPermissions
- A structure representing a list of up to three principal permissions entries for default create database
permissions.public DataLakeSettings withCreateDatabaseDefaultPermissions(PrincipalPermissions... createDatabaseDefaultPermissions)
A structure representing a list of up to three principal permissions entries for default create database permissions.
NOTE: This method appends the values to the existing list (if any). Use
setCreateDatabaseDefaultPermissions(java.util.Collection)
or
withCreateDatabaseDefaultPermissions(java.util.Collection)
if you want to override the existing values.
createDatabaseDefaultPermissions
- A structure representing a list of up to three principal permissions entries for default create database
permissions.public DataLakeSettings withCreateDatabaseDefaultPermissions(Collection<PrincipalPermissions> createDatabaseDefaultPermissions)
A structure representing a list of up to three principal permissions entries for default create database permissions.
createDatabaseDefaultPermissions
- A structure representing a list of up to three principal permissions entries for default create database
permissions.public List<PrincipalPermissions> getCreateTableDefaultPermissions()
A structure representing a list of up to three principal permissions entries for default create table permissions.
public void setCreateTableDefaultPermissions(Collection<PrincipalPermissions> createTableDefaultPermissions)
A structure representing a list of up to three principal permissions entries for default create table permissions.
createTableDefaultPermissions
- A structure representing a list of up to three principal permissions entries for default create table
permissions.public DataLakeSettings withCreateTableDefaultPermissions(PrincipalPermissions... createTableDefaultPermissions)
A structure representing a list of up to three principal permissions entries for default create table permissions.
NOTE: This method appends the values to the existing list (if any). Use
setCreateTableDefaultPermissions(java.util.Collection)
or
withCreateTableDefaultPermissions(java.util.Collection)
if you want to override the existing values.
createTableDefaultPermissions
- A structure representing a list of up to three principal permissions entries for default create table
permissions.public DataLakeSettings withCreateTableDefaultPermissions(Collection<PrincipalPermissions> createTableDefaultPermissions)
A structure representing a list of up to three principal permissions entries for default create table permissions.
createTableDefaultPermissions
- A structure representing a list of up to three principal permissions entries for default create table
permissions.public List<String> getTrustedResourceOwners()
A list of the resource-owning account IDs that the caller's account can use to share their user access details (user ARNs). The user ARNs can be logged in the resource owner's AWS CloudTrail log.
You may want to specify this property when you are in a high-trust boundary, such as the same team or company.
You may want to specify this property when you are in a high-trust boundary, such as the same team or company.
public void setTrustedResourceOwners(Collection<String> trustedResourceOwners)
A list of the resource-owning account IDs that the caller's account can use to share their user access details (user ARNs). The user ARNs can be logged in the resource owner's AWS CloudTrail log.
You may want to specify this property when you are in a high-trust boundary, such as the same team or company.
trustedResourceOwners
- A list of the resource-owning account IDs that the caller's account can use to share their user access
details (user ARNs). The user ARNs can be logged in the resource owner's AWS CloudTrail log.
You may want to specify this property when you are in a high-trust boundary, such as the same team or company.
public DataLakeSettings withTrustedResourceOwners(String... trustedResourceOwners)
A list of the resource-owning account IDs that the caller's account can use to share their user access details (user ARNs). The user ARNs can be logged in the resource owner's AWS CloudTrail log.
You may want to specify this property when you are in a high-trust boundary, such as the same team or company.
NOTE: This method appends the values to the existing list (if any). Use
setTrustedResourceOwners(java.util.Collection)
or
withTrustedResourceOwners(java.util.Collection)
if you want to override the existing values.
trustedResourceOwners
- A list of the resource-owning account IDs that the caller's account can use to share their user access
details (user ARNs). The user ARNs can be logged in the resource owner's AWS CloudTrail log.
You may want to specify this property when you are in a high-trust boundary, such as the same team or company.
public DataLakeSettings withTrustedResourceOwners(Collection<String> trustedResourceOwners)
A list of the resource-owning account IDs that the caller's account can use to share their user access details (user ARNs). The user ARNs can be logged in the resource owner's AWS CloudTrail log.
You may want to specify this property when you are in a high-trust boundary, such as the same team or company.
trustedResourceOwners
- A list of the resource-owning account IDs that the caller's account can use to share their user access
details (user ARNs). The user ARNs can be logged in the resource owner's AWS CloudTrail log.
You may want to specify this property when you are in a high-trust boundary, such as the same team or company.
public String toString()
toString
in class Object
Object.toString()
public DataLakeSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.