
com.aliyun.sdk.service.cbn20170912.models.DisableCenVbrHealthCheckRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cbn20170912.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DisableCenVbrHealthCheckRequest} extends {@link RequestModel}
*
* DisableCenVbrHealthCheckRequest
*/
public class DisableCenVbrHealthCheckRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CenId")
@com.aliyun.core.annotation.Validation(required = true)
private String cenId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VbrInstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String vbrInstanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VbrInstanceOwnerId")
private Long vbrInstanceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VbrInstanceRegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String vbrInstanceRegionId;
private DisableCenVbrHealthCheckRequest(Builder builder) {
super(builder);
this.cenId = builder.cenId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.vbrInstanceId = builder.vbrInstanceId;
this.vbrInstanceOwnerId = builder.vbrInstanceOwnerId;
this.vbrInstanceRegionId = builder.vbrInstanceRegionId;
}
public static Builder builder() {
return new Builder();
}
public static DisableCenVbrHealthCheckRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return cenId
*/
public String getCenId() {
return this.cenId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return vbrInstanceId
*/
public String getVbrInstanceId() {
return this.vbrInstanceId;
}
/**
* @return vbrInstanceOwnerId
*/
public Long getVbrInstanceOwnerId() {
return this.vbrInstanceOwnerId;
}
/**
* @return vbrInstanceRegionId
*/
public String getVbrInstanceRegionId() {
return this.vbrInstanceRegionId;
}
public static final class Builder extends Request.Builder {
private String cenId;
private String ownerAccount;
private Long ownerId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String vbrInstanceId;
private Long vbrInstanceOwnerId;
private String vbrInstanceRegionId;
private Builder() {
super();
}
private Builder(DisableCenVbrHealthCheckRequest request) {
super(request);
this.cenId = request.cenId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.vbrInstanceId = request.vbrInstanceId;
this.vbrInstanceOwnerId = request.vbrInstanceOwnerId;
this.vbrInstanceRegionId = request.vbrInstanceRegionId;
}
/**
* The ID of the Cloud Enterprise Network (CEN) instance.
*/
public Builder cenId(String cenId) {
this.putQueryParameter("CenId", cenId);
this.cenId = cenId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* The ID of the VBR.
*/
public Builder vbrInstanceId(String vbrInstanceId) {
this.putQueryParameter("VbrInstanceId", vbrInstanceId);
this.vbrInstanceId = vbrInstanceId;
return this;
}
/**
* The ID of the Alibaba Cloud account to which the VBR belongs.
*
*
* > This parameter is required if the VBR and the CEN instance belong to different Alibaba Cloud accounts.
*/
public Builder vbrInstanceOwnerId(Long vbrInstanceOwnerId) {
this.putQueryParameter("VbrInstanceOwnerId", vbrInstanceOwnerId);
this.vbrInstanceOwnerId = vbrInstanceOwnerId;
return this;
}
/**
* The ID of the region where the VBR is deployed.
*
*
* You can call the [DescribeChildInstanceRegions](~~132080~~) operation to query the most recent region list.
*/
public Builder vbrInstanceRegionId(String vbrInstanceRegionId) {
this.putQueryParameter("VbrInstanceRegionId", vbrInstanceRegionId);
this.vbrInstanceRegionId = vbrInstanceRegionId;
return this;
}
@Override
public DisableCenVbrHealthCheckRequest build() {
return new DisableCenVbrHealthCheckRequest(this);
}
}
}