Interface CreateTenantDatabaseRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateTenantDatabaseRequest.Builder,
,CreateTenantDatabaseRequest> RdsRequest.Builder
,SdkBuilder<CreateTenantDatabaseRequest.Builder,
,CreateTenantDatabaseRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateTenantDatabaseRequest
-
Method Summary
Modifier and TypeMethodDescriptioncharacterSetName
(String characterSetName) The character set for your tenant database.dbInstanceIdentifier
(String dbInstanceIdentifier) The user-supplied DB instance identifier.masterUsername
(String masterUsername) The name for the master user account in your tenant database.masterUserPassword
(String masterUserPassword) The password for the master user in your tenant database.ncharCharacterSetName
(String ncharCharacterSetName) TheNCHAR
value for the tenant database.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags
(Collection<Tag> tags) Sets the value of the Tags property for this object.tags
(Consumer<Tag.Builder>... tags) Sets the value of the Tags property for this object.Sets the value of the Tags property for this object.tenantDBName
(String tenantDBName) The user-supplied name of the tenant database that you want to create in your DB instance.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rds.model.RdsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
dbInstanceIdentifier
The user-supplied DB instance identifier. RDS creates your tenant database in this DB instance. This parameter isn't case-sensitive.
- Parameters:
dbInstanceIdentifier
- The user-supplied DB instance identifier. RDS creates your tenant database in this DB instance. This parameter isn't case-sensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
inCreateDBInstance
.- Parameters:
tenantDBName
- The user-supplied name of the tenant database that you want to create in your DB instance. This parameter has the same constraints asDBName
inCreateDBInstance
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
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 ('
).
- Parameters:
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 ('
).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
characterSetName
The character set for your tenant database. If you don't specify a value, the character set name defaults to
AL32UTF8
.- Parameters:
characterSetName
- The character set for your tenant database. If you don't specify a value, the character set name defaults toAL32UTF8
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ncharCharacterSetName
The
NCHAR
value for the tenant database.- Parameters:
ncharCharacterSetName
- TheNCHAR
value for the tenant database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags
- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags
- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object. This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateTenantDatabaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateTenantDatabaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-