com.aliyun.sdk.service.ens20171110.models.DescribeMountTargetsRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ens20171110 Show documentation
Show all versions of alibabacloud-ens20171110 Show documentation
Alibaba Cloud Ens (20171110) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.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 DescribeMountTargetsRequest} extends {@link RequestModel}
*
* DescribeMountTargetsRequest
*/
public class DescribeMountTargetsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EnsRegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String ensRegionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("FileSystemId")
@com.aliyun.core.annotation.Validation(required = true)
private String fileSystemId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MountTargetName")
private String mountTargetName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
@com.aliyun.core.annotation.Validation(maximum = 100, minimum = 1)
private Integer pageSize;
private DescribeMountTargetsRequest(Builder builder) {
super(builder);
this.ensRegionId = builder.ensRegionId;
this.fileSystemId = builder.fileSystemId;
this.mountTargetName = builder.mountTargetName;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
}
public static Builder builder() {
return new Builder();
}
public static DescribeMountTargetsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return ensRegionId
*/
public String getEnsRegionId() {
return this.ensRegionId;
}
/**
* @return fileSystemId
*/
public String getFileSystemId() {
return this.fileSystemId;
}
/**
* @return mountTargetName
*/
public String getMountTargetName() {
return this.mountTargetName;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
public static final class Builder extends Request.Builder {
private String ensRegionId;
private String fileSystemId;
private String mountTargetName;
private Integer pageNumber;
private Integer pageSize;
private Builder() {
super();
}
private Builder(DescribeMountTargetsRequest request) {
super(request);
this.ensRegionId = request.ensRegionId;
this.fileSystemId = request.fileSystemId;
this.mountTargetName = request.mountTargetName;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
}
/**
* The ID of the region.
* This parameter is required.
*
* example:
* cn-beijing-cmcc
*/
public Builder ensRegionId(String ensRegionId) {
this.putQueryParameter("EnsRegionId", ensRegionId);
this.ensRegionId = ensRegionId;
return this;
}
/**
* The ID of the file system.
* This parameter is required.
*
* example:
* c50f8*****
*/
public Builder fileSystemId(String fileSystemId) {
this.putQueryParameter("FileSystemId", fileSystemId);
this.fileSystemId = fileSystemId;
return this;
}
/**
* The name of the mount target.
*
* example:
* TestMountPath
*/
public Builder mountTargetName(String mountTargetName) {
this.putQueryParameter("MountTargetName", mountTargetName);
this.mountTargetName = mountTargetName;
return this;
}
/**
* The page number. Pages start from page 1. Default value: 1.
*
* example:
* 1
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* The number of entries per page. The maximum value is 100. Default value: 10.
*
* example:
* 10
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
@Override
public DescribeMountTargetsRequest build() {
return new DescribeMountTargetsRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy