com.aliyun.rds20140815.models.ModifyTaskInfoRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rds20140815 Show documentation
Show all versions of rds20140815 Show documentation
Alibaba Cloud rds (20140815) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.rds20140815.models;
import com.aliyun.tea.*;
public class ModifyTaskInfoRequest extends TeaModel {
/**
* The action parameter.
*
* example:
* {\"recoverTime\":\"2023-04-12T18:30:00Z\",\"recoverMode\":\"timePoint\"}
*/
@NameInMap("ActionParams")
public String actionParams;
/**
* The region ID. You can call the DescribeRegions operation to query the most recent region list.
* This parameter is required.
*
* example:
* cn-hangzhou
*/
@NameInMap("RegionId")
public String regionId;
@NameInMap("ResourceOwnerAccount")
public Long resourceOwnerAccount;
@NameInMap("ResourceOwnerId")
public Long resourceOwnerId;
@NameInMap("SecurityToken")
public String securityToken;
/**
* The name of the execution step.
*
* example:
* ha_switch
*/
@NameInMap("StepName")
public String stepName;
/**
* The name of the operation that you can call to execute the task. Valid values:
*
* - ImportImage
* - ExportImage
* - RedeployInstance
* - ModifyDiskSpec
*
*
* example:
* ImportImage
*/
@NameInMap("TaskAction")
public String taskAction;
/**
* The task ID.
* This parameter is required.
*
* example:
* t-83br18hloum8u3948s
*/
@NameInMap("TaskId")
public String taskId;
public static ModifyTaskInfoRequest build(java.util.Map map) throws Exception {
ModifyTaskInfoRequest self = new ModifyTaskInfoRequest();
return TeaModel.build(map, self);
}
public ModifyTaskInfoRequest setActionParams(String actionParams) {
this.actionParams = actionParams;
return this;
}
public String getActionParams() {
return this.actionParams;
}
public ModifyTaskInfoRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public ModifyTaskInfoRequest setResourceOwnerAccount(Long resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
public Long getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public ModifyTaskInfoRequest setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
return this;
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public ModifyTaskInfoRequest setSecurityToken(String securityToken) {
this.securityToken = securityToken;
return this;
}
public String getSecurityToken() {
return this.securityToken;
}
public ModifyTaskInfoRequest setStepName(String stepName) {
this.stepName = stepName;
return this;
}
public String getStepName() {
return this.stepName;
}
public ModifyTaskInfoRequest setTaskAction(String taskAction) {
this.taskAction = taskAction;
return this;
}
public String getTaskAction() {
return this.taskAction;
}
public ModifyTaskInfoRequest setTaskId(String taskId) {
this.taskId = taskId;
return this;
}
public String getTaskId() {
return this.taskId;
}
}