@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTenantDatabaseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateTenantDatabaseRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTenantDatabaseRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCharacterSetName()
The character set for your tenant database.
|
String |
getDBInstanceIdentifier()
The user-supplied DB instance identifier.
|
String |
getMasterUsername()
The name for the master user account in your tenant database.
|
String |
getMasterUserPassword()
The password for the master user in your tenant database.
|
String |
getNcharCharacterSetName()
The
NCHAR value for the tenant database. |
List<Tag> |
getTags() |
String |
getTenantDBName()
The user-supplied name of the tenant database that you want to create in your DB instance.
|
int |
hashCode() |
void |
setCharacterSetName(String characterSetName)
The character set for your tenant database.
|
void |
setDBInstanceIdentifier(String dBInstanceIdentifier)
The user-supplied DB instance identifier.
|
void |
setMasterUsername(String masterUsername)
The name for the master user account in your tenant database.
|
void |
setMasterUserPassword(String masterUserPassword)
The password for the master user in your tenant database.
|
void |
setNcharCharacterSetName(String ncharCharacterSetName)
The
NCHAR value for the tenant database. |
void |
setTags(Collection<Tag> tags) |
void |
setTenantDBName(String tenantDBName)
The user-supplied name of the tenant database that you want to create in your DB instance.
|
String |
toString()
Returns a string representation of this object.
|
CreateTenantDatabaseRequest |
withCharacterSetName(String characterSetName)
The character set for your tenant database.
|
CreateTenantDatabaseRequest |
withDBInstanceIdentifier(String dBInstanceIdentifier)
The user-supplied DB instance identifier.
|
CreateTenantDatabaseRequest |
withMasterUsername(String masterUsername)
The name for the master user account in your tenant database.
|
CreateTenantDatabaseRequest |
withMasterUserPassword(String masterUserPassword)
The password for the master user in your tenant database.
|
CreateTenantDatabaseRequest |
withNcharCharacterSetName(String ncharCharacterSetName)
The
NCHAR value for the tenant database. |
CreateTenantDatabaseRequest |
withTags(Collection<Tag> tags) |
CreateTenantDatabaseRequest |
withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any).
|
CreateTenantDatabaseRequest |
withTenantDBName(String tenantDBName)
The user-supplied name of the tenant database that you want to create in your DB instance.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDBInstanceIdentifier(String dBInstanceIdentifier)
The user-supplied DB instance identifier. RDS creates your tenant database in this DB instance. This parameter isn't case-sensitive.
dBInstanceIdentifier
- The user-supplied DB instance identifier. RDS creates your tenant database in this DB instance. This
parameter isn't case-sensitive.public String getDBInstanceIdentifier()
The user-supplied DB instance identifier. RDS creates your tenant database in this DB instance. This parameter isn't case-sensitive.
public CreateTenantDatabaseRequest withDBInstanceIdentifier(String dBInstanceIdentifier)
The user-supplied DB instance identifier. RDS creates your tenant database in this DB instance. This parameter isn't case-sensitive.
dBInstanceIdentifier
- The user-supplied DB instance identifier. RDS creates your tenant database in this DB instance. This
parameter isn't case-sensitive.public void setTenantDBName(String tenantDBName)
The user-supplied name of the tenant database that you want to create in your DB instance. This parameter has the
same constraints as DBName
in CreateDBInstance
.
tenantDBName
- The user-supplied name of the tenant database that you want to create in your DB instance. This parameter
has the same constraints as DBName
in CreateDBInstance
.public String getTenantDBName()
The user-supplied name of the tenant database that you want to create in your DB instance. This parameter has the
same constraints as DBName
in CreateDBInstance
.
DBName
in CreateDBInstance
.public CreateTenantDatabaseRequest withTenantDBName(String tenantDBName)
The user-supplied name of the tenant database that you want to create in your DB instance. This parameter has the
same constraints as DBName
in CreateDBInstance
.
tenantDBName
- The user-supplied name of the tenant database that you want to create in your DB instance. This parameter
has the same constraints as DBName
in CreateDBInstance
.public void setMasterUsername(String masterUsername)
The name for the master user account in your tenant database. RDS creates this user account in the tenant database and grants privileges to the master user. This parameter is case-sensitive.
Constraints:
Must be 1 to 16 letters, numbers, or underscores.
First character must be a letter.
Can't be a reserved word for the chosen database engine.
masterUsername
- The name for the master user account in your tenant database. RDS creates this user account in the tenant
database and grants privileges to the master user. This parameter is case-sensitive.
Constraints:
Must be 1 to 16 letters, numbers, or underscores.
First character must be a letter.
Can't be a reserved word for the chosen database engine.
public String getMasterUsername()
The name for the master user account in your tenant database. RDS creates this user account in the tenant database and grants privileges to the master user. This parameter is case-sensitive.
Constraints:
Must be 1 to 16 letters, numbers, or underscores.
First character must be a letter.
Can't be a reserved word for the chosen database engine.
Constraints:
Must be 1 to 16 letters, numbers, or underscores.
First character must be a letter.
Can't be a reserved word for the chosen database engine.
public CreateTenantDatabaseRequest withMasterUsername(String masterUsername)
The name for the master user account in your tenant database. RDS creates this user account in the tenant database and grants privileges to the master user. This parameter is case-sensitive.
Constraints:
Must be 1 to 16 letters, numbers, or underscores.
First character must be a letter.
Can't be a reserved word for the chosen database engine.
masterUsername
- The name for the master user account in your tenant database. RDS creates this user account in the tenant
database and grants privileges to the master user. This parameter is case-sensitive.
Constraints:
Must be 1 to 16 letters, numbers, or underscores.
First character must be a letter.
Can't be a reserved word for the chosen database engine.
public void setMasterUserPassword(String masterUserPassword)
The password for the master user in your tenant database.
Constraints:
Must be 8 to 30 characters.
Can include any printable ASCII character except forward slash (/
), double quote ("
),
at symbol (@
), ampersand (&
), or single quote ('
).
masterUserPassword
- The password for the master user in your tenant database.
Constraints:
Must be 8 to 30 characters.
Can include any printable ASCII character except forward slash (/
), double quote (
"
), at symbol (@
), ampersand (&
), or single quote (
'
).
public String getMasterUserPassword()
The password for the master user in your tenant database.
Constraints:
Must be 8 to 30 characters.
Can include any printable ASCII character except forward slash (/
), double quote ("
),
at symbol (@
), ampersand (&
), or single quote ('
).
Constraints:
Must be 8 to 30 characters.
Can include any printable ASCII character except forward slash (/
), double quote (
"
), at symbol (@
), ampersand (&
), or single quote (
'
).
public CreateTenantDatabaseRequest withMasterUserPassword(String masterUserPassword)
The password for the master user in your tenant database.
Constraints:
Must be 8 to 30 characters.
Can include any printable ASCII character except forward slash (/
), double quote ("
),
at symbol (@
), ampersand (&
), or single quote ('
).
masterUserPassword
- The password for the master user in your tenant database.
Constraints:
Must be 8 to 30 characters.
Can include any printable ASCII character except forward slash (/
), double quote (
"
), at symbol (@
), ampersand (&
), or single quote (
'
).
public void setCharacterSetName(String characterSetName)
The character set for your tenant database. If you don't specify a value, the character set name defaults to
AL32UTF8
.
characterSetName
- The character set for your tenant database. If you don't specify a value, the character set name defaults
to AL32UTF8
.public String getCharacterSetName()
The character set for your tenant database. If you don't specify a value, the character set name defaults to
AL32UTF8
.
AL32UTF8
.public CreateTenantDatabaseRequest withCharacterSetName(String characterSetName)
The character set for your tenant database. If you don't specify a value, the character set name defaults to
AL32UTF8
.
characterSetName
- The character set for your tenant database. If you don't specify a value, the character set name defaults
to AL32UTF8
.public void setNcharCharacterSetName(String ncharCharacterSetName)
The NCHAR
value for the tenant database.
ncharCharacterSetName
- The NCHAR
value for the tenant database.public String getNcharCharacterSetName()
The NCHAR
value for the tenant database.
NCHAR
value for the tenant database.public CreateTenantDatabaseRequest withNcharCharacterSetName(String ncharCharacterSetName)
The NCHAR
value for the tenant database.
ncharCharacterSetName
- The NCHAR
value for the tenant database.public void setTags(Collection<Tag> tags)
tags
- public CreateTenantDatabaseRequest withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- public CreateTenantDatabaseRequest withTags(Collection<Tag> tags)
tags
- public String toString()
toString
in class Object
Object.toString()
public CreateTenantDatabaseRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()