@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FederatedDatabase extends Object implements Serializable, Cloneable, StructuredPojo
A database that points to an entity outside the Glue Data Catalog.
Constructor and Description |
---|
FederatedDatabase() |
Modifier and Type | Method and Description |
---|---|
FederatedDatabase |
clone() |
boolean |
equals(Object obj) |
String |
getConnectionName()
The name of the connection to the external metastore.
|
String |
getIdentifier()
A unique identifier for the federated database.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConnectionName(String connectionName)
The name of the connection to the external metastore.
|
void |
setIdentifier(String identifier)
A unique identifier for the federated database.
|
String |
toString()
Returns a string representation of this object.
|
FederatedDatabase |
withConnectionName(String connectionName)
The name of the connection to the external metastore.
|
FederatedDatabase |
withIdentifier(String identifier)
A unique identifier for the federated database.
|
public void setIdentifier(String identifier)
A unique identifier for the federated database.
identifier
- A unique identifier for the federated database.public String getIdentifier()
A unique identifier for the federated database.
public FederatedDatabase withIdentifier(String identifier)
A unique identifier for the federated database.
identifier
- A unique identifier for the federated database.public void setConnectionName(String connectionName)
The name of the connection to the external metastore.
connectionName
- The name of the connection to the external metastore.public String getConnectionName()
The name of the connection to the external metastore.
public FederatedDatabase withConnectionName(String connectionName)
The name of the connection to the external metastore.
connectionName
- The name of the connection to the external metastore.public String toString()
toString
in class Object
Object.toString()
public FederatedDatabase clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.