|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.opsworks.model.DataSource
public class DataSource
Describes an app's data source.
Constructor Summary | |
---|---|
DataSource()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getArn()
The data source's ARN. |
String |
getDatabaseName()
The database name. |
String |
getType()
The data source's type, AutoSelectOpsworksMysqlInstance ,
OpsworksMysqlInstance , or RdsDbInstance . |
int |
hashCode()
|
void |
setArn(String arn)
The data source's ARN. |
void |
setDatabaseName(String databaseName)
The database name. |
void |
setType(String type)
The data source's type, AutoSelectOpsworksMysqlInstance ,
OpsworksMysqlInstance , or RdsDbInstance . |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DataSource |
withArn(String arn)
The data source's ARN. |
DataSource |
withDatabaseName(String databaseName)
The database name. |
DataSource |
withType(String type)
The data source's type, AutoSelectOpsworksMysqlInstance ,
OpsworksMysqlInstance , or RdsDbInstance . |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DataSource()
Method Detail |
---|
public String getType()
AutoSelectOpsworksMysqlInstance
,
OpsworksMysqlInstance
, or RdsDbInstance
.
AutoSelectOpsworksMysqlInstance
,
OpsworksMysqlInstance
, or RdsDbInstance
.public void setType(String type)
AutoSelectOpsworksMysqlInstance
,
OpsworksMysqlInstance
, or RdsDbInstance
.
type
- The data source's type, AutoSelectOpsworksMysqlInstance
,
OpsworksMysqlInstance
, or RdsDbInstance
.public DataSource withType(String type)
AutoSelectOpsworksMysqlInstance
,
OpsworksMysqlInstance
, or RdsDbInstance
.
Returns a reference to this object so that method calls can be chained together.
type
- The data source's type, AutoSelectOpsworksMysqlInstance
,
OpsworksMysqlInstance
, or RdsDbInstance
.
public String getArn()
public void setArn(String arn)
arn
- The data source's ARN.public DataSource withArn(String arn)
Returns a reference to this object so that method calls can be chained together.
arn
- The data source's ARN.
public String getDatabaseName()
public void setDatabaseName(String databaseName)
databaseName
- The database name.public DataSource withDatabaseName(String databaseName)
Returns a reference to this object so that method calls can be chained together.
databaseName
- The database name.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |