public class CreateDBInstancePlanRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
DBInstanceId
The instance ID.
|
Long |
ownerId |
String |
planConfig
The execution information of the plan.
|
String |
planDesc
The description of the plan.
|
String |
planEndDate
The end time of the plan.
|
String |
planName
The name of the plan.
|
String |
planScheduleType
The execution mode of the plan.
|
String |
planStartDate
The start time of the plan.
|
String |
planType
The type of the plan.
|
| 构造器和说明 |
|---|
CreateDBInstancePlanRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CreateDBInstancePlanRequest |
build(Map<String,?> map) |
String |
getDBInstanceId() |
Long |
getOwnerId() |
String |
getPlanConfig() |
String |
getPlanDesc() |
String |
getPlanEndDate() |
String |
getPlanName() |
String |
getPlanScheduleType() |
String |
getPlanStartDate() |
String |
getPlanType() |
CreateDBInstancePlanRequest |
setDBInstanceId(String DBInstanceId) |
CreateDBInstancePlanRequest |
setOwnerId(Long ownerId) |
CreateDBInstancePlanRequest |
setPlanConfig(String planConfig) |
CreateDBInstancePlanRequest |
setPlanDesc(String planDesc) |
CreateDBInstancePlanRequest |
setPlanEndDate(String planEndDate) |
CreateDBInstancePlanRequest |
setPlanName(String planName) |
CreateDBInstancePlanRequest |
setPlanScheduleType(String planScheduleType) |
CreateDBInstancePlanRequest |
setPlanStartDate(String planStartDate) |
CreateDBInstancePlanRequest |
setPlanType(String planType) |
@NameInMap(value="DBInstanceId") public String DBInstanceId
The instance ID.
You can call the DescribeDBInstances operation to query the IDs of all AnalyticDB for PostgreSQL instances within a region.
This parameter is required.
example:gp-bp12ga6v69h86****
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PlanConfig") public String planConfig
The execution information of the plan. Specify the parameter in the JSON format. The parameter value varies based on the values of PlanType and PlanScheduleType. The following section describes the PlanConfig parameter.
This parameter is required.
example:{"pause":{"planCronTime":"0 0 12 1/1 * ? "},"resume":{"planCronTime":"0 0 0 1/1 * ? "}}
@NameInMap(value="PlanDesc") public String planDesc
The description of the plan.
example:this is a test plan
@NameInMap(value="PlanEndDate") public String planEndDate
The end time of the plan. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. The end time must be later than the start time.
This parameter must be specified only when PlanScheduleType is set to Regular.
If you do not specify this parameter, the plan stops until the plan is deleted.
2023-04-17T23:00Z
@NameInMap(value="PlanName") public String planName
The name of the plan.
This parameter is required.
example:test-plan
@NameInMap(value="PlanScheduleType") public String planScheduleType
The execution mode of the plan. Valid values:
This parameter is required.
example:Regular
@NameInMap(value="PlanStartDate") public String planStartDate
The start time of the plan. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
This parameter must be specified only when PlanScheduleType is set to Regular.
If you do not specify this parameter, the current time is used.
2022-04-17T23:00Z
@NameInMap(value="PlanType") public String planType
The type of the plan. Valid values:
- You can specify the value to ModifySpec only for instances in elastic storage mode.
- You can specify the value to ModifySpec only for instances in elastic storage mode.
This parameter is required.
example:PauseResume
public static CreateDBInstancePlanRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateDBInstancePlanRequest setDBInstanceId(String DBInstanceId)
public String getDBInstanceId()
public CreateDBInstancePlanRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateDBInstancePlanRequest setPlanConfig(String planConfig)
public String getPlanConfig()
public CreateDBInstancePlanRequest setPlanDesc(String planDesc)
public String getPlanDesc()
public CreateDBInstancePlanRequest setPlanEndDate(String planEndDate)
public String getPlanEndDate()
public CreateDBInstancePlanRequest setPlanName(String planName)
public String getPlanName()
public CreateDBInstancePlanRequest setPlanScheduleType(String planScheduleType)
public String getPlanScheduleType()
public CreateDBInstancePlanRequest setPlanStartDate(String planStartDate)
public String getPlanStartDate()
public CreateDBInstancePlanRequest setPlanType(String planType)
public String getPlanType()
Copyright © 2024. All rights reserved.