
com.aliyun.sdk.service.cbn20170912.models.DeleteCenChildInstanceRouteEntryToCenRequest 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 DeleteCenChildInstanceRouteEntryToCenRequest} extends {@link RequestModel}
*
* DeleteCenChildInstanceRouteEntryToCenRequest
*/
public class DeleteCenChildInstanceRouteEntryToCenRequest 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("ChildInstanceAliUid")
private Long childInstanceAliUid;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ChildInstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String childInstanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ChildInstanceRegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String childInstanceRegionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ChildInstanceType")
@com.aliyun.core.annotation.Validation(required = true)
private String childInstanceType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DestinationCidrBlock")
@com.aliyun.core.annotation.Validation(required = true)
private String destinationCidrBlock;
@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("RouteTableId")
@com.aliyun.core.annotation.Validation(required = true)
private String routeTableId;
private DeleteCenChildInstanceRouteEntryToCenRequest(Builder builder) {
super(builder);
this.cenId = builder.cenId;
this.childInstanceAliUid = builder.childInstanceAliUid;
this.childInstanceId = builder.childInstanceId;
this.childInstanceRegionId = builder.childInstanceRegionId;
this.childInstanceType = builder.childInstanceType;
this.destinationCidrBlock = builder.destinationCidrBlock;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.routeTableId = builder.routeTableId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteCenChildInstanceRouteEntryToCenRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return cenId
*/
public String getCenId() {
return this.cenId;
}
/**
* @return childInstanceAliUid
*/
public Long getChildInstanceAliUid() {
return this.childInstanceAliUid;
}
/**
* @return childInstanceId
*/
public String getChildInstanceId() {
return this.childInstanceId;
}
/**
* @return childInstanceRegionId
*/
public String getChildInstanceRegionId() {
return this.childInstanceRegionId;
}
/**
* @return childInstanceType
*/
public String getChildInstanceType() {
return this.childInstanceType;
}
/**
* @return destinationCidrBlock
*/
public String getDestinationCidrBlock() {
return this.destinationCidrBlock;
}
/**
* @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 routeTableId
*/
public String getRouteTableId() {
return this.routeTableId;
}
public static final class Builder extends Request.Builder {
private String cenId;
private Long childInstanceAliUid;
private String childInstanceId;
private String childInstanceRegionId;
private String childInstanceType;
private String destinationCidrBlock;
private String ownerAccount;
private Long ownerId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String routeTableId;
private Builder() {
super();
}
private Builder(DeleteCenChildInstanceRouteEntryToCenRequest request) {
super(request);
this.cenId = request.cenId;
this.childInstanceAliUid = request.childInstanceAliUid;
this.childInstanceId = request.childInstanceId;
this.childInstanceRegionId = request.childInstanceRegionId;
this.childInstanceType = request.childInstanceType;
this.destinationCidrBlock = request.destinationCidrBlock;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.routeTableId = request.routeTableId;
}
/**
* The ID of the CEN instance.
*/
public Builder cenId(String cenId) {
this.putQueryParameter("CenId", cenId);
this.cenId = cenId;
return this;
}
/**
* The ID of the Alibaba Cloud account to which the network instance belongs.
*
*
* > If the network instance and the CEN instance belong to different Alibaba Cloud accounts, this parameter is required.
*/
public Builder childInstanceAliUid(Long childInstanceAliUid) {
this.putQueryParameter("ChildInstanceAliUid", childInstanceAliUid);
this.childInstanceAliUid = childInstanceAliUid;
return this;
}
/**
* The ID of the network instance.
*/
public Builder childInstanceId(String childInstanceId) {
this.putQueryParameter("ChildInstanceId", childInstanceId);
this.childInstanceId = childInstanceId;
return this;
}
/**
* The ID of the region where the network instance is deployed.
*
*
* You can call the [DescribeRegions](~~36063~~) operation to obtain the region ID.
*/
public Builder childInstanceRegionId(String childInstanceRegionId) {
this.putQueryParameter("ChildInstanceRegionId", childInstanceRegionId);
this.childInstanceRegionId = childInstanceRegionId;
return this;
}
/**
* The type of the network instance. Valid values:
*
*
* * **VPC**: a virtual private cloud (VPC)
* * **VBR**: a virtual border router (VBR)
*/
public Builder childInstanceType(String childInstanceType) {
this.putQueryParameter("ChildInstanceType", childInstanceType);
this.childInstanceType = childInstanceType;
return this;
}
/**
* The destination CIDR block of the route.
*
*
* Specify the value of this parameter in CIDR notation. Example: 192.168.10.0/24.
*/
public Builder destinationCidrBlock(String destinationCidrBlock) {
this.putQueryParameter("DestinationCidrBlock", destinationCidrBlock);
this.destinationCidrBlock = destinationCidrBlock;
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 route table configured on the network instance.
*/
public Builder routeTableId(String routeTableId) {
this.putQueryParameter("RouteTableId", routeTableId);
this.routeTableId = routeTableId;
return this;
}
@Override
public DeleteCenChildInstanceRouteEntryToCenRequest build() {
return new DeleteCenChildInstanceRouteEntryToCenRequest(this);
}
}
}