com.aliyun.sdk.service.ens20171110.models.DescribeImageSharePermissionResponseBody 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 DescribeImageSharePermissionResponseBody} extends {@link TeaModel}
*
* DescribeImageSharePermissionResponseBody
*/
public class DescribeImageSharePermissionResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Accounts")
private Accounts accounts;
@com.aliyun.core.annotation.NameInMap("ImageId")
private String imageId;
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private DescribeImageSharePermissionResponseBody(Builder builder) {
this.accounts = builder.accounts;
this.imageId = builder.imageId;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeImageSharePermissionResponseBody create() {
return builder().build();
}
/**
* @return accounts
*/
public Accounts getAccounts() {
return this.accounts;
}
/**
* @return imageId
*/
public String getImageId() {
return this.imageId;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private Accounts accounts;
private String imageId;
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Integer totalCount;
/**
* The account information.
*/
public Builder accounts(Accounts accounts) {
this.accounts = accounts;
return this;
}
/**
* The ID of the image.
*
* example:
* m-5qkf6jv9a0tzd5ipwx5fi****
*/
public Builder imageId(String imageId) {
this.imageId = imageId;
return this;
}
/**
* The page number.
*
* example:
* 1
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* The number of entries per page.
*
* example:
* 100
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* The ID of the request.
*
* example:
* A44EE357-6174-5E37-A801-48F5790F9ACE
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The total number of Alibaba Cloud accounts with which you share the image.
*
* example:
* 2
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public DescribeImageSharePermissionResponseBody build() {
return new DescribeImageSharePermissionResponseBody(this);
}
}
/**
*
* {@link DescribeImageSharePermissionResponseBody} extends {@link TeaModel}
*
* DescribeImageSharePermissionResponseBody
*/
public static class Accounts extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Account")
private java.util.List account;
private Accounts(Builder builder) {
this.account = builder.account;
}
public static Builder builder() {
return new Builder();
}
public static Accounts create() {
return builder().build();
}
/**
* @return account
*/
public java.util.List getAccount() {
return this.account;
}
public static final class Builder {
private java.util.List account;
/**
* Account.
*/
public Builder account(java.util.List account) {
this.account = account;
return this;
}
public Accounts build() {
return new Accounts(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy