com.aliyun.sdk.service.ens20171110.models.DescribeImageSharePermissionRequest 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 DescribeImageSharePermissionRequest} extends {@link RequestModel}
*
* DescribeImageSharePermissionRequest
*/
public class DescribeImageSharePermissionRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AliyunId")
private Long aliyunId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ImageId")
@com.aliyun.core.annotation.Validation(required = true)
private String imageId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
private String pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
@com.aliyun.core.annotation.Validation(maximum = 100)
private String pageSize;
private DescribeImageSharePermissionRequest(Builder builder) {
super(builder);
this.aliyunId = builder.aliyunId;
this.imageId = builder.imageId;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
}
public static Builder builder() {
return new Builder();
}
public static DescribeImageSharePermissionRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return aliyunId
*/
public Long getAliyunId() {
return this.aliyunId;
}
/**
* @return imageId
*/
public String getImageId() {
return this.imageId;
}
/**
* @return pageNumber
*/
public String getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public String getPageSize() {
return this.pageSize;
}
public static final class Builder extends Request.Builder {
private Long aliyunId;
private String imageId;
private String pageNumber;
private String pageSize;
private Builder() {
super();
}
private Builder(DescribeImageSharePermissionRequest request) {
super(request);
this.aliyunId = request.aliyunId;
this.imageId = request.imageId;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
}
/**
* The ID of the Alibaba Cloud account.
*
* example:
* 171710408091****
*/
public Builder aliyunId(Long aliyunId) {
this.putQueryParameter("AliyunId", aliyunId);
this.aliyunId = aliyunId;
return this;
}
/**
* The ID of the image.
* This parameter is required.
*
* example:
* m-5s7qotzavwbrnzaqh4unm****
*/
public Builder imageId(String imageId) {
this.putQueryParameter("ImageId", imageId);
this.imageId = imageId;
return this;
}
/**
* The page number. Pages start from page 1.
* Default value: 1.
*
* example:
* 1
*/
public Builder pageNumber(String pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* The number of entries per page. Maximum value: 100.
* Default value: 10.
*
* example:
* 10
*/
public Builder pageSize(String pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
@Override
public DescribeImageSharePermissionRequest build() {
return new DescribeImageSharePermissionRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy