All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.ecs20140526.models.CreateVirtualBorderRouterRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.models;

import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link CreateVirtualBorderRouterRequest} extends {@link RequestModel}
 *
 * 

CreateVirtualBorderRouterRequest

*/ public class CreateVirtualBorderRouterRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CircuitCode") private String circuitCode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClientToken") private String clientToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LocalGatewayIp") private String localGatewayIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Name") private String name; @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("PeerGatewayIp") private String peerGatewayIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PeeringSubnetMask") private String peeringSubnetMask; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PhysicalConnectionId") @com.aliyun.core.annotation.Validation(required = true) private String physicalConnectionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @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("UserCidr") private String userCidr; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VbrOwnerId") private Long vbrOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VlanId") @com.aliyun.core.annotation.Validation(required = true) private Integer vlanId; private CreateVirtualBorderRouterRequest(Builder builder) { super(builder); this.circuitCode = builder.circuitCode; this.clientToken = builder.clientToken; this.description = builder.description; this.localGatewayIp = builder.localGatewayIp; this.name = builder.name; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.peerGatewayIp = builder.peerGatewayIp; this.peeringSubnetMask = builder.peeringSubnetMask; this.physicalConnectionId = builder.physicalConnectionId; this.regionId = builder.regionId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.userCidr = builder.userCidr; this.vbrOwnerId = builder.vbrOwnerId; this.vlanId = builder.vlanId; } public static Builder builder() { return new Builder(); } public static CreateVirtualBorderRouterRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return circuitCode */ public String getCircuitCode() { return this.circuitCode; } /** * @return clientToken */ public String getClientToken() { return this.clientToken; } /** * @return description */ public String getDescription() { return this.description; } /** * @return localGatewayIp */ public String getLocalGatewayIp() { return this.localGatewayIp; } /** * @return name */ public String getName() { return this.name; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return peerGatewayIp */ public String getPeerGatewayIp() { return this.peerGatewayIp; } /** * @return peeringSubnetMask */ public String getPeeringSubnetMask() { return this.peeringSubnetMask; } /** * @return physicalConnectionId */ public String getPhysicalConnectionId() { return this.physicalConnectionId; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return userCidr */ public String getUserCidr() { return this.userCidr; } /** * @return vbrOwnerId */ public Long getVbrOwnerId() { return this.vbrOwnerId; } /** * @return vlanId */ public Integer getVlanId() { return this.vlanId; } public static final class Builder extends Request.Builder { private String circuitCode; private String clientToken; private String description; private String localGatewayIp; private String name; private String ownerAccount; private Long ownerId; private String peerGatewayIp; private String peeringSubnetMask; private String physicalConnectionId; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private String userCidr; private Long vbrOwnerId; private Integer vlanId; private Builder() { super(); } private Builder(CreateVirtualBorderRouterRequest request) { super(request); this.circuitCode = request.circuitCode; this.clientToken = request.clientToken; this.description = request.description; this.localGatewayIp = request.localGatewayIp; this.name = request.name; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.peerGatewayIp = request.peerGatewayIp; this.peeringSubnetMask = request.peeringSubnetMask; this.physicalConnectionId = request.physicalConnectionId; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.userCidr = request.userCidr; this.vbrOwnerId = request.vbrOwnerId; this.vlanId = request.vlanId; } /** * CircuitCode. */ public Builder circuitCode(String circuitCode) { this.putQueryParameter("CircuitCode", circuitCode); this.circuitCode = circuitCode; return this; } /** * ClientToken. */ public Builder clientToken(String clientToken) { this.putQueryParameter("ClientToken", clientToken); this.clientToken = clientToken; return this; } /** * Description. */ public Builder description(String description) { this.putQueryParameter("Description", description); this.description = description; return this; } /** * LocalGatewayIp. */ public Builder localGatewayIp(String localGatewayIp) { this.putQueryParameter("LocalGatewayIp", localGatewayIp); this.localGatewayIp = localGatewayIp; return this; } /** * Name. */ public Builder name(String name) { this.putQueryParameter("Name", name); this.name = name; 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; } /** * PeerGatewayIp. */ public Builder peerGatewayIp(String peerGatewayIp) { this.putQueryParameter("PeerGatewayIp", peerGatewayIp); this.peerGatewayIp = peerGatewayIp; return this; } /** * PeeringSubnetMask. */ public Builder peeringSubnetMask(String peeringSubnetMask) { this.putQueryParameter("PeeringSubnetMask", peeringSubnetMask); this.peeringSubnetMask = peeringSubnetMask; return this; } /** *

This parameter is required.

*/ public Builder physicalConnectionId(String physicalConnectionId) { this.putQueryParameter("PhysicalConnectionId", physicalConnectionId); this.physicalConnectionId = physicalConnectionId; return this; } /** *

This parameter is required.

*/ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; 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; } /** * UserCidr. */ public Builder userCidr(String userCidr) { this.putQueryParameter("UserCidr", userCidr); this.userCidr = userCidr; return this; } /** * VbrOwnerId. */ public Builder vbrOwnerId(Long vbrOwnerId) { this.putQueryParameter("VbrOwnerId", vbrOwnerId); this.vbrOwnerId = vbrOwnerId; return this; } /** *

This parameter is required.

*/ public Builder vlanId(Integer vlanId) { this.putQueryParameter("VlanId", vlanId); this.vlanId = vlanId; return this; } @Override public CreateVirtualBorderRouterRequest build() { return new CreateVirtualBorderRouterRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy