@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DatabaseInput extends Object implements Serializable, Cloneable, StructuredPojo
The structure used to create or updata 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()
A list of key-value pairs that 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)
A list of key-value pairs that 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)
A list of key-value pairs that define parameters and properties of the database.
|
public void setName(String name)
Name of the database.
name
- Name of the database.public String getName()
Name of the database.
public DatabaseInput withName(String name)
Name of the database.
name
- Name of the database.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()
A list of key-value pairs that define parameters and properties of the database.
public void setParameters(Map<String,String> parameters)
A list of key-value pairs that define parameters and properties of the database.
parameters
- A list of key-value pairs that define parameters and properties of the database.public DatabaseInput withParameters(Map<String,String> parameters)
A list of key-value pairs that define parameters and properties of the database.
parameters
- A list of key-value pairs that define parameters and properties of the database.public DatabaseInput addParametersEntry(String key, String value)
public DatabaseInput clearParametersEntries()
public String toString()
toString
in class Object
Object.toString()
public DatabaseInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.