All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.waf_openapi20211001.models.DescribeCertDetailResponseBody Maven / Gradle / Ivy

// 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 DescribeCertDetailResponseBody} extends {@link TeaModel}
 *
 * 

DescribeCertDetailResponseBody

*/ public class DescribeCertDetailResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CertDetail") private CertDetail certDetail; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeCertDetailResponseBody(Builder builder) { this.certDetail = builder.certDetail; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeCertDetailResponseBody create() { return builder().build(); } /** * @return certDetail */ public CertDetail getCertDetail() { return this.certDetail; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private CertDetail certDetail; private String requestId; /** *

The details of the certificate.

*/ public Builder certDetail(CertDetail certDetail) { this.certDetail = certDetail; return this; } /** *

The ID of the request.

* * example: *

3C115DBE-8E53-5A12-9CAF-FD3F****CDF6

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeCertDetailResponseBody build() { return new DescribeCertDetailResponseBody(this); } } /** * * {@link DescribeCertDetailResponseBody} extends {@link TeaModel} * *

DescribeCertDetailResponseBody

*/ public static class CertDetail extends TeaModel { @com.aliyun.core.annotation.NameInMap("AfterDate") private Long afterDate; @com.aliyun.core.annotation.NameInMap("BeforeDate") private Long beforeDate; @com.aliyun.core.annotation.NameInMap("CertIdentifier") private String certIdentifier; @com.aliyun.core.annotation.NameInMap("CertName") private String certName; @com.aliyun.core.annotation.NameInMap("CommonName") private String commonName; @com.aliyun.core.annotation.NameInMap("Domain") private String domain; @com.aliyun.core.annotation.NameInMap("Sans") private java.util.List < String > sans; private CertDetail(Builder builder) { this.afterDate = builder.afterDate; this.beforeDate = builder.beforeDate; this.certIdentifier = builder.certIdentifier; this.certName = builder.certName; this.commonName = builder.commonName; this.domain = builder.domain; this.sans = builder.sans; } public static Builder builder() { return new Builder(); } public static CertDetail create() { return builder().build(); } /** * @return afterDate */ public Long getAfterDate() { return this.afterDate; } /** * @return beforeDate */ public Long getBeforeDate() { return this.beforeDate; } /** * @return certIdentifier */ public String getCertIdentifier() { return this.certIdentifier; } /** * @return certName */ public String getCertName() { return this.certName; } /** * @return commonName */ public String getCommonName() { return this.commonName; } /** * @return domain */ public String getDomain() { return this.domain; } /** * @return sans */ public java.util.List < String > getSans() { return this.sans; } public static final class Builder { private Long afterDate; private Long beforeDate; private String certIdentifier; private String certName; private String commonName; private String domain; private java.util.List < String > sans; /** *

The time when the certificate expires. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.

* * example: *

1976256736582

*/ public Builder afterDate(Long afterDate) { this.afterDate = afterDate; return this; } /** *

The time when the certificate was issued. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.

* * example: *

1976256736582

*/ public Builder beforeDate(Long beforeDate) { this.beforeDate = beforeDate; return this; } /** *

The ID of the certificate.

* * example: *

123-cn-hangzhou

*/ public Builder certIdentifier(String certIdentifier) { this.certIdentifier = certIdentifier; return this; } /** *

The name of the certificate.

* * example: *

testCertName

*/ public Builder certName(String certName) { this.certName = certName; return this; } /** *

The primary domain name, which is a common name.

* * example: *

*.xxxaliyun.com

*/ public Builder commonName(String commonName) { this.commonName = commonName; return this; } /** *

The domain name that is associated with the certificate.

* * example: *

demo.xxxaliyun.com

*/ public Builder domain(String domain) { this.domain = domain; return this; } /** *

The other domain names that are associated with the certificate.

*/ public Builder sans(java.util.List < String > sans) { this.sans = sans; return this; } public CertDetail build() { return new CertDetail(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy