Class DataSource
java.lang.Object
com.amazonaws.services.opsworks.model.DataSource
- All Implemented Interfaces:
Serializable, Cloneable
Describes an app's data source.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetArn()The data source's ARN.The database name.getType()The data source's type,AutoSelectOpsworksMysqlInstance,OpsworksMysqlInstance, orRdsDbInstance.inthashCode()voidThe data source's ARN.voidsetDatabaseName(String databaseName) The database name.voidThe data source's type,AutoSelectOpsworksMysqlInstance,OpsworksMysqlInstance, orRdsDbInstance.toString()Returns a string representation of this object; useful for testing and debugging.The data source's ARN.withDatabaseName(String databaseName) The database name.The data source's type,AutoSelectOpsworksMysqlInstance,OpsworksMysqlInstance, orRdsDbInstance.
-
Constructor Details
-
DataSource
public DataSource()
-
-
Method Details
-
setType
The data source's type,
AutoSelectOpsworksMysqlInstance,OpsworksMysqlInstance, orRdsDbInstance.- Parameters:
type- The data source's type,AutoSelectOpsworksMysqlInstance,OpsworksMysqlInstance, orRdsDbInstance.
-
getType
The data source's type,
AutoSelectOpsworksMysqlInstance,OpsworksMysqlInstance, orRdsDbInstance.- Returns:
- The data source's type,
AutoSelectOpsworksMysqlInstance,OpsworksMysqlInstance, orRdsDbInstance.
-
withType
The data source's type,
AutoSelectOpsworksMysqlInstance,OpsworksMysqlInstance, orRdsDbInstance.- Parameters:
type- The data source's type,AutoSelectOpsworksMysqlInstance,OpsworksMysqlInstance, orRdsDbInstance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setArn
-
getArn
-
withArn
The data source's ARN.
- Parameters:
arn- The data source's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDatabaseName
The database name.
- Parameters:
databaseName- The database name.
-
getDatabaseName
-
withDatabaseName
The database name.
- Parameters:
databaseName- The database name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-