@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Database extends Object implements Serializable, Cloneable, StructuredPojo
Contains metadata information for a database in a data catalog.
Constructor and Description |
---|
Database() |
Modifier and Type | Method and Description |
---|---|
Database |
addParametersEntry(String key,
String value)
Add a single Parameters entry
|
Database |
clearParametersEntries()
Removes all the entries added into Parameters.
|
Database |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
An optional description of the database.
|
String |
getName()
The name of the database.
|
Map<String,String> |
getParameters()
A set of custom key/value pairs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
An optional description of the database.
|
void |
setName(String name)
The name of the database.
|
void |
setParameters(Map<String,String> parameters)
A set of custom key/value pairs.
|
String |
toString()
Returns a string representation of this object.
|
Database |
withDescription(String description)
An optional description of the database.
|
Database |
withName(String name)
The name of the database.
|
Database |
withParameters(Map<String,String> parameters)
A set of custom key/value pairs.
|
public void setName(String name)
The name of the database.
name
- The name of the database.public String getName()
The name of the database.
public Database withName(String name)
The name of the database.
name
- The name of the database.public void setDescription(String description)
An optional description of the database.
description
- An optional description of the database.public String getDescription()
An optional description of the database.
public Database withDescription(String description)
An optional description of the database.
description
- An optional description of the database.public Map<String,String> getParameters()
A set of custom key/value pairs.
public void setParameters(Map<String,String> parameters)
A set of custom key/value pairs.
parameters
- A set of custom key/value pairs.public Database withParameters(Map<String,String> parameters)
A set of custom key/value pairs.
parameters
- A set of custom key/value pairs.public Database addParametersEntry(String key, String value)
public Database clearParametersEntries()
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.