public class CreateNamespaceRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
DBInstanceId
The instance ID.
|
String |
managerAccount
The name of the manager account that has the rds_superuser permission.
|
String |
managerAccountPassword
The password of the manager account.
|
String |
namespace
The name of the namespace.
|
String |
namespacePassword
The password of the namespace.
|
Long |
ownerId |
String |
regionId
The region ID of the instance.
|
String |
workspaceId |
| 构造器和说明 |
|---|
CreateNamespaceRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CreateNamespaceRequest |
build(Map<String,?> map) |
String |
getDBInstanceId() |
String |
getManagerAccount() |
String |
getManagerAccountPassword() |
String |
getNamespace() |
String |
getNamespacePassword() |
Long |
getOwnerId() |
String |
getRegionId() |
String |
getWorkspaceId() |
CreateNamespaceRequest |
setDBInstanceId(String DBInstanceId) |
CreateNamespaceRequest |
setManagerAccount(String managerAccount) |
CreateNamespaceRequest |
setManagerAccountPassword(String managerAccountPassword) |
CreateNamespaceRequest |
setNamespace(String namespace) |
CreateNamespaceRequest |
setNamespacePassword(String namespacePassword) |
CreateNamespaceRequest |
setOwnerId(Long ownerId) |
CreateNamespaceRequest |
setRegionId(String regionId) |
CreateNamespaceRequest |
setWorkspaceId(String workspaceId) |
@NameInMap(value="DBInstanceId") public String DBInstanceId
The instance ID.
example:You can call the DescribeDBInstances operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
gp-xxxxxxxxx
@NameInMap(value="ManagerAccount") public String managerAccount
The name of the manager account that has the rds_superuser permission.
You can create an account on the Account Management page of the AnalyticDB for PostgreSQL console or by calling the CreateAccount operation.
This parameter is required.
example:testaccount
@NameInMap(value="ManagerAccountPassword") public String managerAccountPassword
The password of the manager account.
This parameter is required.
example:testpassword
@NameInMap(value="Namespace") public String namespace
The name of the namespace. After the namespace is created, the system automatically creates an account that has the same name.
example:The name must comply with the naming conventions of PostgreSQL objects.
mynamespace
@NameInMap(value="NamespacePassword") public String namespacePassword
The password of the namespace.
This parameter is required.
example:testpassword2
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the instance.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="WorkspaceId") public String workspaceId
public static CreateNamespaceRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateNamespaceRequest setDBInstanceId(String DBInstanceId)
public String getDBInstanceId()
public CreateNamespaceRequest setManagerAccount(String managerAccount)
public String getManagerAccount()
public CreateNamespaceRequest setManagerAccountPassword(String managerAccountPassword)
public String getManagerAccountPassword()
public CreateNamespaceRequest setNamespace(String namespace)
public String getNamespace()
public CreateNamespaceRequest setNamespacePassword(String namespacePassword)
public String getNamespacePassword()
public CreateNamespaceRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateNamespaceRequest setRegionId(String regionId)
public String getRegionId()
public CreateNamespaceRequest setWorkspaceId(String workspaceId)
public String getWorkspaceId()
Copyright © 2024. All rights reserved.