@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DatabaseInput extends Object implements Serializable, Cloneable, StructuredPojo
The structure used to create or update a database.
| Constructor and Description |
|---|
DatabaseInput() |
| Modifier and Type | Method and Description |
|---|---|
DatabaseInput |
addParametersEntry(String key,
String value) |
DatabaseInput |
clearParametersEntries()
Removes all the entries added into Parameters.
|
DatabaseInput |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
Description of the database
|
String |
getLocationUri()
The location of the database (for example, an HDFS path).
|
String |
getName()
Name of the database.
|
Map<String,String> |
getParameters()
Thes key-value pairs define parameters and properties of the database.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDescription(String description)
Description of the database
|
void |
setLocationUri(String locationUri)
The location of the database (for example, an HDFS path).
|
void |
setName(String name)
Name of the database.
|
void |
setParameters(Map<String,String> parameters)
Thes key-value pairs define parameters and properties of the database.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DatabaseInput |
withDescription(String description)
Description of the database
|
DatabaseInput |
withLocationUri(String locationUri)
The location of the database (for example, an HDFS path).
|
DatabaseInput |
withName(String name)
Name of the database.
|
DatabaseInput |
withParameters(Map<String,String> parameters)
Thes key-value pairs define parameters and properties of the database.
|
public void setName(String name)
Name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
name - Name of the database. For Hive compatibility, this is folded to lowercase when it is stored.public String getName()
Name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
public DatabaseInput withName(String name)
Name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
name - Name of the database. For Hive compatibility, this is folded to lowercase when it is stored.public void setDescription(String description)
Description of the database
description - Description of the databasepublic String getDescription()
Description of the database
public DatabaseInput withDescription(String description)
Description of the database
description - Description of the databasepublic void setLocationUri(String locationUri)
The location of the database (for example, an HDFS path).
locationUri - The location of the database (for example, an HDFS path).public String getLocationUri()
The location of the database (for example, an HDFS path).
public DatabaseInput withLocationUri(String locationUri)
The location of the database (for example, an HDFS path).
locationUri - The location of the database (for example, an HDFS path).public Map<String,String> getParameters()
Thes key-value pairs define parameters and properties of the database.
public void setParameters(Map<String,String> parameters)
Thes key-value pairs define parameters and properties of the database.
parameters - Thes key-value pairs define parameters and properties of the database.public DatabaseInput withParameters(Map<String,String> parameters)
Thes key-value pairs define parameters and properties of the database.
parameters - Thes key-value pairs define parameters and properties of the database.public DatabaseInput addParametersEntry(String key, String value)
public DatabaseInput clearParametersEntries()
public String toString()
toString in class ObjectObject.toString()public DatabaseInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.