com.aliyun.vpc20160428.models.CreatePhysicalConnectionSetupOrderRequest Maven / Gradle / Ivy
Show all versions of vpc20160428 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.vpc20160428.models;
import com.aliyun.tea.*;
public class CreatePhysicalConnectionSetupOrderRequest extends TeaModel {
/**
* The ID of the access point.
*/
@NameInMap("AccessPointId")
public String accessPointId;
/**
* Specifies whether to enable automatic payment. Valid values:
*
* * **false** (default): disables automatic payment.
* * **true**: enables automatic payment.
*/
@NameInMap("AutoPay")
public Boolean autoPay;
/**
* The client token that is used to ensure the idempotence of the request.
*
* You can use the client to generate the value, but you must make sure that it is unique among different requests. ClientToken can contain only ASCII characters.
*
* > If you do not set this parameter, the system automatically uses **RequestId** as **ClientToken**. **RequestId** of each API request may be different.
*/
@NameInMap("ClientToken")
public String clientToken;
/**
* The connectivity provider of the Express Connect circuit. Valid values:
*
* * **CT**: China Telecom
* * **CU**: China Unicom
* * **CM**: China Mobile
* * **CO**: other connectivity providers in the Chinese mainland
* * **Equinix**: Equinix
* * **Other**: other connectivity providers outside the Chinese mainland
*/
@NameInMap("LineOperator")
public String lineOperator;
@NameInMap("OwnerAccount")
public String ownerAccount;
@NameInMap("OwnerId")
public Long ownerId;
/**
* The port type. Valid values:
*
* * **100Base-T**: 100 Mbit/s copper Ethernet port
* * **1000Base-T** (default): 1,000 Mbit/s copper Ethernet port
* * **1000Base-LX**: 1,000 Mbit/s single-mode optical port (10 km)
* * **10GBase-T**: 10,000 Mbit/s copper Ethernet port
* * **10GBase-LR**: 10,000 Mbit/s single-mode optical port (10 km)
* * **40GBase-LR**: 40,000 Mbit/s single-mode optical port
* * **100GBase-LR**: 100,000 Mbit/s single-mode optical port
*
* > Whether 40GBase-LR and 100GBase-LR ports can be created is based on resource supplies. For more information, contact your business manager.
*/
@NameInMap("PortType")
public String portType;
/**
* The ID of the redundant Express Connect circuit. The redundant Express Connect circuit must be in the **Allocated**, **Confirmed**, or **Enabled** state.
*/
@NameInMap("RedundantPhysicalConnectionId")
public String redundantPhysicalConnectionId;
/**
* The region ID of the Express Connect circuit.
*
* You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
*/
@NameInMap("RegionId")
public String regionId;
@NameInMap("ResourceOwnerAccount")
public String resourceOwnerAccount;
@NameInMap("ResourceOwnerId")
public Long resourceOwnerId;
public static CreatePhysicalConnectionSetupOrderRequest build(java.util.Map map) throws Exception {
CreatePhysicalConnectionSetupOrderRequest self = new CreatePhysicalConnectionSetupOrderRequest();
return TeaModel.build(map, self);
}
public CreatePhysicalConnectionSetupOrderRequest setAccessPointId(String accessPointId) {
this.accessPointId = accessPointId;
return this;
}
public String getAccessPointId() {
return this.accessPointId;
}
public CreatePhysicalConnectionSetupOrderRequest setAutoPay(Boolean autoPay) {
this.autoPay = autoPay;
return this;
}
public Boolean getAutoPay() {
return this.autoPay;
}
public CreatePhysicalConnectionSetupOrderRequest setClientToken(String clientToken) {
this.clientToken = clientToken;
return this;
}
public String getClientToken() {
return this.clientToken;
}
public CreatePhysicalConnectionSetupOrderRequest setLineOperator(String lineOperator) {
this.lineOperator = lineOperator;
return this;
}
public String getLineOperator() {
return this.lineOperator;
}
public CreatePhysicalConnectionSetupOrderRequest setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
return this;
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public CreatePhysicalConnectionSetupOrderRequest setOwnerId(Long ownerId) {
this.ownerId = ownerId;
return this;
}
public Long getOwnerId() {
return this.ownerId;
}
public CreatePhysicalConnectionSetupOrderRequest setPortType(String portType) {
this.portType = portType;
return this;
}
public String getPortType() {
return this.portType;
}
public CreatePhysicalConnectionSetupOrderRequest setRedundantPhysicalConnectionId(String redundantPhysicalConnectionId) {
this.redundantPhysicalConnectionId = redundantPhysicalConnectionId;
return this;
}
public String getRedundantPhysicalConnectionId() {
return this.redundantPhysicalConnectionId;
}
public CreatePhysicalConnectionSetupOrderRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public CreatePhysicalConnectionSetupOrderRequest setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public CreatePhysicalConnectionSetupOrderRequest setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
return this;
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
}