@Generated(value="software.amazon.awssdk:codegen") public final class DatabaseInput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DatabaseInput.Builder,DatabaseInput>
The structure used to create or update a database.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DatabaseInput.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DatabaseInput.Builder |
builder() |
List<PrincipalPermissions> |
createTableDefaultPermissions()
Creates a set of default permissions on the table for principals.
|
String |
description()
A description of the database.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCreateTableDefaultPermissions()
Returns true if the CreateTableDefaultPermissions property was specified by the sender (it may be empty), or
false if the sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasParameters()
Returns true if the Parameters property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
String |
locationUri()
The location of the database (for example, an HDFS path).
|
String |
name()
The name of the database.
|
Map<String,String> |
parameters()
These key-value pairs define parameters and properties of the database.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DatabaseInput.Builder> |
serializableBuilderClass() |
DatabaseIdentifier |
targetDatabase()
A
DatabaseIdentifier structure that describes a target database for resource linking. |
DatabaseInput.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String name()
The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
public String description()
A description of the database.
public String locationUri()
The location of the database (for example, an HDFS path).
public boolean hasParameters()
public Map<String,String> parameters()
These key-value pairs define parameters and properties of the database.
These key-value pairs define parameters and properties of the database.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasParameters() to see if a value was sent in this field.
These key-value pairs define parameters and properties of the database.
public boolean hasCreateTableDefaultPermissions()
public List<PrincipalPermissions> createTableDefaultPermissions()
Creates a set of default permissions on the table for principals.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasCreateTableDefaultPermissions() to see if a value was sent in this field.
public DatabaseIdentifier targetDatabase()
A DatabaseIdentifier structure that describes a target database for resource linking.
DatabaseIdentifier structure that describes a target database for resource linking.public DatabaseInput.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DatabaseInput.Builder,DatabaseInput>public static DatabaseInput.Builder builder()
public static Class<? extends DatabaseInput.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.