com.aliyun.bpstudio20210931.models.AppFailOverRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bpstudio20210931 Show documentation
Show all versions of bpstudio20210931 Show documentation
Alibaba Cloud BPStudio (20210931) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.bpstudio20210931.models;
import com.aliyun.tea.*;
public class AppFailOverRequest extends TeaModel {
/**
* The application ID.
*
* example:
* BE68D71ZY5YYIU9R
*/
@NameInMap("ApplicationId")
public String applicationId;
/**
* The destination zone to which you want to switch the disaster recovery application.
*
* example:
* cn-hangzhou-g
*/
@NameInMap("FailZone")
public String failZone;
public static AppFailOverRequest build(java.util.Map map) throws Exception {
AppFailOverRequest self = new AppFailOverRequest();
return TeaModel.build(map, self);
}
public AppFailOverRequest setApplicationId(String applicationId) {
this.applicationId = applicationId;
return this;
}
public String getApplicationId() {
return this.applicationId;
}
public AppFailOverRequest setFailZone(String failZone) {
this.failZone = failZone;
return this;
}
public String getFailZone() {
return this.failZone;
}
}