@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Database extends Object implements Serializable, Cloneable, StructuredPojo
The SAP HANA database of the application registered with AWS Systems Manager for SAP.
Constructor and Description |
---|
Database() |
Modifier and Type | Method and Description |
---|---|
Database |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The ID of the application.
|
String |
getArn()
The Amazon Resource Name (ARN) of the database.
|
String |
getComponentId()
The ID of the component.
|
List<ApplicationCredential> |
getCredentials()
The credentials of the database.
|
String |
getDatabaseId()
The ID of the SAP HANA database.
|
String |
getDatabaseName()
The name of the database.
|
String |
getDatabaseType()
The type of the database.
|
Date |
getLastUpdated()
The time at which the database was last updated.
|
String |
getPrimaryHost()
The primary host of the database.
|
Integer |
getSQLPort()
The SQL port of the database.
|
String |
getStatus()
The status of the database.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationId(String applicationId)
The ID of the application.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the database.
|
void |
setComponentId(String componentId)
The ID of the component.
|
void |
setCredentials(Collection<ApplicationCredential> credentials)
The credentials of the database.
|
void |
setDatabaseId(String databaseId)
The ID of the SAP HANA database.
|
void |
setDatabaseName(String databaseName)
The name of the database.
|
void |
setDatabaseType(String databaseType)
The type of the database.
|
void |
setLastUpdated(Date lastUpdated)
The time at which the database was last updated.
|
void |
setPrimaryHost(String primaryHost)
The primary host of the database.
|
void |
setSQLPort(Integer sQLPort)
The SQL port of the database.
|
void |
setStatus(String status)
The status of the database.
|
String |
toString()
Returns a string representation of this object.
|
Database |
withApplicationId(String applicationId)
The ID of the application.
|
Database |
withArn(String arn)
The Amazon Resource Name (ARN) of the database.
|
Database |
withComponentId(String componentId)
The ID of the component.
|
Database |
withCredentials(ApplicationCredential... credentials)
The credentials of the database.
|
Database |
withCredentials(Collection<ApplicationCredential> credentials)
The credentials of the database.
|
Database |
withDatabaseId(String databaseId)
The ID of the SAP HANA database.
|
Database |
withDatabaseName(String databaseName)
The name of the database.
|
Database |
withDatabaseType(DatabaseType databaseType)
The type of the database.
|
Database |
withDatabaseType(String databaseType)
The type of the database.
|
Database |
withLastUpdated(Date lastUpdated)
The time at which the database was last updated.
|
Database |
withPrimaryHost(String primaryHost)
The primary host of the database.
|
Database |
withSQLPort(Integer sQLPort)
The SQL port of the database.
|
Database |
withStatus(DatabaseStatus status)
The status of the database.
|
Database |
withStatus(String status)
The status of the database.
|
public void setApplicationId(String applicationId)
The ID of the application.
applicationId
- The ID of the application.public String getApplicationId()
The ID of the application.
public Database withApplicationId(String applicationId)
The ID of the application.
applicationId
- The ID of the application.public void setComponentId(String componentId)
The ID of the component.
componentId
- The ID of the component.public String getComponentId()
The ID of the component.
public Database withComponentId(String componentId)
The ID of the component.
componentId
- The ID of the component.public List<ApplicationCredential> getCredentials()
The credentials of the database.
public void setCredentials(Collection<ApplicationCredential> credentials)
The credentials of the database.
credentials
- The credentials of the database.public Database withCredentials(ApplicationCredential... credentials)
The credentials of the database.
NOTE: This method appends the values to the existing list (if any). Use
setCredentials(java.util.Collection)
or withCredentials(java.util.Collection)
if you want to
override the existing values.
credentials
- The credentials of the database.public Database withCredentials(Collection<ApplicationCredential> credentials)
The credentials of the database.
credentials
- The credentials of the database.public void setDatabaseId(String databaseId)
The ID of the SAP HANA database.
databaseId
- The ID of the SAP HANA database.public String getDatabaseId()
The ID of the SAP HANA database.
public Database withDatabaseId(String databaseId)
The ID of the SAP HANA database.
databaseId
- The ID of the SAP HANA database.public void setDatabaseName(String databaseName)
The name of the database.
databaseName
- The name of the database.public String getDatabaseName()
The name of the database.
public Database withDatabaseName(String databaseName)
The name of the database.
databaseName
- The name of the database.public void setDatabaseType(String databaseType)
The type of the database.
databaseType
- The type of the database.DatabaseType
public String getDatabaseType()
The type of the database.
DatabaseType
public Database withDatabaseType(String databaseType)
The type of the database.
databaseType
- The type of the database.DatabaseType
public Database withDatabaseType(DatabaseType databaseType)
The type of the database.
databaseType
- The type of the database.DatabaseType
public void setArn(String arn)
The Amazon Resource Name (ARN) of the database.
arn
- The Amazon Resource Name (ARN) of the database.public String getArn()
The Amazon Resource Name (ARN) of the database.
public Database withArn(String arn)
The Amazon Resource Name (ARN) of the database.
arn
- The Amazon Resource Name (ARN) of the database.public void setStatus(String status)
The status of the database.
status
- The status of the database.DatabaseStatus
public String getStatus()
The status of the database.
DatabaseStatus
public Database withStatus(String status)
The status of the database.
status
- The status of the database.DatabaseStatus
public Database withStatus(DatabaseStatus status)
The status of the database.
status
- The status of the database.DatabaseStatus
public void setPrimaryHost(String primaryHost)
The primary host of the database.
primaryHost
- The primary host of the database.public String getPrimaryHost()
The primary host of the database.
public Database withPrimaryHost(String primaryHost)
The primary host of the database.
primaryHost
- The primary host of the database.public void setSQLPort(Integer sQLPort)
The SQL port of the database.
sQLPort
- The SQL port of the database.public Integer getSQLPort()
The SQL port of the database.
public Database withSQLPort(Integer sQLPort)
The SQL port of the database.
sQLPort
- The SQL port of the database.public void setLastUpdated(Date lastUpdated)
The time at which the database was last updated.
lastUpdated
- The time at which the database was last updated.public Date getLastUpdated()
The time at which the database was last updated.
public Database withLastUpdated(Date lastUpdated)
The time at which the database was last updated.
lastUpdated
- The time at which the database was last updated.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.