@Generated(value="software.amazon.awssdk:codegen") public final class DataLakeSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataLakeSettings.Builder,DataLakeSettings>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DataLakeSettings.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DataLakeSettings.Builder |
builder() |
List<PrincipalPermissions> |
createDatabaseDefaultPermissions()
A structure representing a list of up to three principal permissions entries for default create database
permissions.
|
List<PrincipalPermissions> |
createTableDefaultPermissions()
A structure representing a list of up to three principal permissions entries for default create table
permissions.
|
List<DataLakePrincipal> |
dataLakeAdmins()
A list of AWS Lake Formation principals.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCreateDatabaseDefaultPermissions()
For responses, this returns true if the service returned a value for the CreateDatabaseDefaultPermissions
property.
|
boolean |
hasCreateTableDefaultPermissions()
For responses, this returns true if the service returned a value for the CreateTableDefaultPermissions property.
|
boolean |
hasDataLakeAdmins()
For responses, this returns true if the service returned a value for the DataLakeAdmins property.
|
int |
hashCode() |
boolean |
hasTrustedResourceOwners()
For responses, this returns true if the service returned a value for the TrustedResourceOwners property.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DataLakeSettings.Builder> |
serializableBuilderClass() |
DataLakeSettings.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<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).
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasDataLakeAdmins()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<DataLakePrincipal> dataLakeAdmins()
A list of AWS Lake Formation principals. Supported principals are IAM users or IAM roles.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDataLakeAdmins() method.
public final boolean hasCreateDatabaseDefaultPermissions()
isEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may
need to differentiate between the service returning nothing (or null) and the service returning an empty
collection or map. For requests, this returns true if a value for the property was specified in the request
builder, and false if a value was not specified.public final List<PrincipalPermissions> createDatabaseDefaultPermissions()
A structure representing a list of up to three principal permissions entries for default create database permissions.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasCreateDatabaseDefaultPermissions()
method.
public final boolean hasCreateTableDefaultPermissions()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<PrincipalPermissions> createTableDefaultPermissions()
A structure representing a list of up to three principal permissions entries for default create table permissions.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasCreateTableDefaultPermissions() method.
public final boolean hasTrustedResourceOwners()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTrustedResourceOwners() method.
You may want to specify this property when you are in a high-trust boundary, such as the same team or company.
public DataLakeSettings.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DataLakeSettings.Builder,DataLakeSettings>public static DataLakeSettings.Builder builder()
public static Class<? extends DataLakeSettings.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.