com.aliyun.sdk.service.waf_openapi20211001.models.DescribeCertDetailRequest 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 DescribeCertDetailRequest} extends {@link RequestModel}
*
* DescribeCertDetailRequest
*/
public class DescribeCertDetailRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CertIdentifier")
@com.aliyun.core.annotation.Validation(required = true)
private String certIdentifier;
@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("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceManagerResourceGroupId")
private String resourceManagerResourceGroupId;
private DescribeCertDetailRequest(Builder builder) {
super(builder);
this.certIdentifier = builder.certIdentifier;
this.instanceId = builder.instanceId;
this.regionId = builder.regionId;
this.resourceManagerResourceGroupId = builder.resourceManagerResourceGroupId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCertDetailRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return certIdentifier
*/
public String getCertIdentifier() {
return this.certIdentifier;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @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 certIdentifier;
private String instanceId;
private String regionId;
private String resourceManagerResourceGroupId;
private Builder() {
super();
}
private Builder(DescribeCertDetailRequest request) {
super(request);
this.certIdentifier = request.certIdentifier;
this.instanceId = request.instanceId;
this.regionId = request.regionId;
this.resourceManagerResourceGroupId = request.resourceManagerResourceGroupId;
}
/**
* The ID of the certificate.
* This parameter is required.
*
* example:
* 123-cn-hangzhou
*/
public Builder certIdentifier(String certIdentifier) {
this.putQueryParameter("CertIdentifier", certIdentifier);
this.certIdentifier = certIdentifier;
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-uax****3k0e
*/
public Builder instanceId(String instanceId) {
this.putQueryParameter("InstanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* The region in which the Web Application Firewall (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-acfm***q
*/
public Builder resourceManagerResourceGroupId(String resourceManagerResourceGroupId) {
this.putQueryParameter("ResourceManagerResourceGroupId", resourceManagerResourceGroupId);
this.resourceManagerResourceGroupId = resourceManagerResourceGroupId;
return this;
}
@Override
public DescribeCertDetailRequest build() {
return new DescribeCertDetailRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy