com.aliyun.sdk.service.waf_openapi20211001.models.DescribeCertsRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-waf_openapi20211001 Show documentation
Show all versions of alibabacloud-waf_openapi20211001 Show documentation
Alibaba Cloud waf-openapi (20211001) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.waf_openapi20211001.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCertsRequest} extends {@link RequestModel}
*
* DescribeCertsRequest
*/
public class DescribeCertsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Algorithm")
private String algorithm;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Domain")
private String domain;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Long pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
@com.aliyun.core.annotation.Validation(maximum = 1000)
private Long pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceManagerResourceGroupId")
private String resourceManagerResourceGroupId;
private DescribeCertsRequest(Builder builder) {
super(builder);
this.algorithm = builder.algorithm;
this.domain = builder.domain;
this.instanceId = builder.instanceId;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.regionId = builder.regionId;
this.resourceManagerResourceGroupId = builder.resourceManagerResourceGroupId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCertsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return algorithm
*/
public String getAlgorithm() {
return this.algorithm;
}
/**
* @return domain
*/
public String getDomain() {
return this.domain;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return pageNumber
*/
public Long getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Long getPageSize() {
return this.pageSize;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceManagerResourceGroupId
*/
public String getResourceManagerResourceGroupId() {
return this.resourceManagerResourceGroupId;
}
public static final class Builder extends Request.Builder {
private String algorithm;
private String domain;
private String instanceId;
private Long pageNumber;
private Long pageSize;
private String regionId;
private String resourceManagerResourceGroupId;
private Builder() {
super();
}
private Builder(DescribeCertsRequest request) {
super(request);
this.algorithm = request.algorithm;
this.domain = request.domain;
this.instanceId = request.instanceId;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.regionId = request.regionId;
this.resourceManagerResourceGroupId = request.resourceManagerResourceGroupId;
}
/**
* The type of the encryption algorithm. Valid values:
*
* - NotSM2: The encryption algorithm is not the SM2 algorithm. This is the default value.
* - SM2: The encryption algorithm is the SM2 algorithm.
*
*
* example:
* SM2
*/
public Builder algorithm(String algorithm) {
this.putQueryParameter("Algorithm", algorithm);
this.algorithm = algorithm;
return this;
}
/**
* The domain name.
*
* example:
* example.aliyun.com
*/
public Builder domain(String domain) {
this.putQueryParameter("Domain", domain);
this.domain = domain;
return this;
}
/**
* The ID of the WAF instance.
*
* You can call the DescribeInstance operation to query the ID of the WAF instance.
*
* This parameter is required.
*
* example:
* waf_v3prepaid_public_cn-5yd****tb02
*/
public Builder instanceId(String instanceId) {
this.putQueryParameter("InstanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* The page number. Default value: 1.
*
* example:
* 1
*/
public Builder pageNumber(Long pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* The number of entries per page. Valid values: 1 to 100. Default value: 10.
*
* example:
* 10
*/
public Builder pageSize(Long pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* The region in which the WAF instance is deployed. Valid values:
*
* - cn-hangzhou: Chinese mainland.
* - ap-southeast-1: outside the Chinese mainland.
*
*
* example:
* cn-hangzhou
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* The ID of the Alibaba Cloud resource group.
*
* example:
* rg-acfmoiy****p2oq
*/
public Builder resourceManagerResourceGroupId(String resourceManagerResourceGroupId) {
this.putQueryParameter("ResourceManagerResourceGroupId", resourceManagerResourceGroupId);
this.resourceManagerResourceGroupId = resourceManagerResourceGroupId;
return this;
}
@Override
public DescribeCertsRequest build() {
return new DescribeCertsRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy