com.aliyun.ens20171110.models.CreateFileSystemRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ens20171110.models;
import com.aliyun.tea.*;
public class CreateFileSystemRequest extends TeaModel {
/**
* The information about the orders.
* This parameter is required.
*/
@NameInMap("OrderDetails")
public java.util.List orderDetails;
public static CreateFileSystemRequest build(java.util.Map map) throws Exception {
CreateFileSystemRequest self = new CreateFileSystemRequest();
return TeaModel.build(map, self);
}
public CreateFileSystemRequest setOrderDetails(java.util.List orderDetails) {
this.orderDetails = orderDetails;
return this;
}
public java.util.List getOrderDetails() {
return this.orderDetails;
}
public static class CreateFileSystemRequestOrderDetails extends TeaModel {
/**
* The billing method of the NAS file system. Valid values:
*
* - PrePaid: subscription. This billing method is not supported.
* - PostPaid: pay-as-you-go.
*
* This parameter is required.
*
* example:
* PostPaid
*/
@NameInMap("ChargeType")
public String chargeType;
/**
* The ID of the edge node.
* This parameter is required.
*
* example:
* cn-suzhou-telecom
*/
@NameInMap("EnsRegionId")
public String ensRegionId;
/**
* The name of the file system. The name must be 1 to 80 characters in length and can contain letters, digits, hyphens (-), and underscores (_).
* This parameter is required.
*
* example:
* nasFile
*/
@NameInMap("FileSystemName")
public String fileSystemName;
/**
* The name of the mount target. The name must be 1 to 80 characters in length and can contain letters, digits, hyphens (-), and underscores (_).
* This parameter is required.
*
* example:
* nasMount
*/
@NameInMap("MountTargetDomain")
public String mountTargetDomain;
/**
* The ID of the VPC.
* This parameter is required.
*
* example:
* vpc-xxx
*/
@NameInMap("NetworkId")
public String networkId;
/**
* The type of the order. Set the value to BUY.
* This parameter is required.
*
* example:
* BUY
*/
@NameInMap("OrderType")
public String orderType;
/**
* The storage protocol. Set the value to nfs.
* This parameter is required.
*
* example:
* nfs
*/
@NameInMap("ProtocolType")
public String protocolType;
/**
* The storage type. Valid values:
*
* - Capacity.
* - Performance.
*
* This parameter is required.
*
* example:
* capacity
*/
@NameInMap("StorgeType")
public String storgeType;
public static CreateFileSystemRequestOrderDetails build(java.util.Map map) throws Exception {
CreateFileSystemRequestOrderDetails self = new CreateFileSystemRequestOrderDetails();
return TeaModel.build(map, self);
}
public CreateFileSystemRequestOrderDetails setChargeType(String chargeType) {
this.chargeType = chargeType;
return this;
}
public String getChargeType() {
return this.chargeType;
}
public CreateFileSystemRequestOrderDetails setEnsRegionId(String ensRegionId) {
this.ensRegionId = ensRegionId;
return this;
}
public String getEnsRegionId() {
return this.ensRegionId;
}
public CreateFileSystemRequestOrderDetails setFileSystemName(String fileSystemName) {
this.fileSystemName = fileSystemName;
return this;
}
public String getFileSystemName() {
return this.fileSystemName;
}
public CreateFileSystemRequestOrderDetails setMountTargetDomain(String mountTargetDomain) {
this.mountTargetDomain = mountTargetDomain;
return this;
}
public String getMountTargetDomain() {
return this.mountTargetDomain;
}
public CreateFileSystemRequestOrderDetails setNetworkId(String networkId) {
this.networkId = networkId;
return this;
}
public String getNetworkId() {
return this.networkId;
}
public CreateFileSystemRequestOrderDetails setOrderType(String orderType) {
this.orderType = orderType;
return this;
}
public String getOrderType() {
return this.orderType;
}
public CreateFileSystemRequestOrderDetails setProtocolType(String protocolType) {
this.protocolType = protocolType;
return this;
}
public String getProtocolType() {
return this.protocolType;
}
public CreateFileSystemRequestOrderDetails setStorgeType(String storgeType) {
this.storgeType = storgeType;
return this;
}
public String getStorgeType() {
return this.storgeType;
}
}
}