com.aliyun.sdk.service.apig20240327.models.GetDomainResponseBody Maven / Gradle / Ivy
Show all versions of alibabacloud-apig20240327 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.apig20240327.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetDomainResponseBody} extends {@link TeaModel}
*
* GetDomainResponseBody
*/
public class GetDomainResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("code")
private String code;
@com.aliyun.core.annotation.NameInMap("data")
private Data data;
@com.aliyun.core.annotation.NameInMap("message")
private String message;
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
private GetDomainResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static GetDomainResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String code;
private Data data;
private String message;
private String requestId;
/**
* Response code.
*
* example:
* Ok
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Response data.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* Response message.
*
* example:
* success
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* Request ID, used for tracing the API call chain.
*
* example:
* 3ACFC7A7-45A9-58CF-B2D5-765B60254695
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public GetDomainResponseBody build() {
return new GetDomainResponseBody(this);
}
}
/**
*
* {@link GetDomainResponseBody} extends {@link TeaModel}
*
* GetDomainResponseBody
*/
public static class StatisticsInfo extends TeaModel {
@com.aliyun.core.annotation.NameInMap("resourceStatistics")
private java.util.List < ResourceStatistic > resourceStatistics;
@com.aliyun.core.annotation.NameInMap("totalCount")
private String totalCount;
private StatisticsInfo(Builder builder) {
this.resourceStatistics = builder.resourceStatistics;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static StatisticsInfo create() {
return builder().build();
}
/**
* @return resourceStatistics
*/
public java.util.List < ResourceStatistic > getResourceStatistics() {
return this.resourceStatistics;
}
/**
* @return totalCount
*/
public String getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private java.util.List < ResourceStatistic > resourceStatistics;
private String totalCount;
/**
* resourceStatistics.
*/
public Builder resourceStatistics(java.util.List < ResourceStatistic > resourceStatistics) {
this.resourceStatistics = resourceStatistics;
return this;
}
/**
* totalCount.
*/
public Builder totalCount(String totalCount) {
this.totalCount = totalCount;
return this;
}
public StatisticsInfo build() {
return new StatisticsInfo(this);
}
}
}
/**
*
* {@link GetDomainResponseBody} extends {@link TeaModel}
*
* GetDomainResponseBody
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("algorithm")
private String algorithm;
@com.aliyun.core.annotation.NameInMap("caCertIndentifier")
private String caCertIndentifier;
@com.aliyun.core.annotation.NameInMap("certIndentifier")
private String certIndentifier;
@com.aliyun.core.annotation.NameInMap("certName")
private String certName;
@com.aliyun.core.annotation.NameInMap("createFrom")
private String createFrom;
@com.aliyun.core.annotation.NameInMap("createTimestamp")
private Long createTimestamp;
@com.aliyun.core.annotation.NameInMap("default")
private Boolean _default;
@com.aliyun.core.annotation.NameInMap("domainId")
private String domainId;
@com.aliyun.core.annotation.NameInMap("forceHttps")
private Boolean forceHttps;
@com.aliyun.core.annotation.NameInMap("http2Option")
private String http2Option;
@com.aliyun.core.annotation.NameInMap("issuer")
private String issuer;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("notAfterTimstamp")
private Long notAfterTimstamp;
@com.aliyun.core.annotation.NameInMap("notBeforeTimestamp")
private Long notBeforeTimestamp;
@com.aliyun.core.annotation.NameInMap("protocol")
private String protocol;
@com.aliyun.core.annotation.NameInMap("resourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.NameInMap("sans")
private String sans;
@com.aliyun.core.annotation.NameInMap("statisticsInfo")
private StatisticsInfo statisticsInfo;
@com.aliyun.core.annotation.NameInMap("tlsCipherSuitesConfig")
private TlsCipherSuitesConfig tlsCipherSuitesConfig;
@com.aliyun.core.annotation.NameInMap("tlsMax")
private String tlsMax;
@com.aliyun.core.annotation.NameInMap("tlsMin")
private String tlsMin;
@com.aliyun.core.annotation.NameInMap("updatetimestamp")
private Long updatetimestamp;
private Data(Builder builder) {
this.algorithm = builder.algorithm;
this.caCertIndentifier = builder.caCertIndentifier;
this.certIndentifier = builder.certIndentifier;
this.certName = builder.certName;
this.createFrom = builder.createFrom;
this.createTimestamp = builder.createTimestamp;
this._default = builder._default;
this.domainId = builder.domainId;
this.forceHttps = builder.forceHttps;
this.http2Option = builder.http2Option;
this.issuer = builder.issuer;
this.name = builder.name;
this.notAfterTimstamp = builder.notAfterTimstamp;
this.notBeforeTimestamp = builder.notBeforeTimestamp;
this.protocol = builder.protocol;
this.resourceGroupId = builder.resourceGroupId;
this.sans = builder.sans;
this.statisticsInfo = builder.statisticsInfo;
this.tlsCipherSuitesConfig = builder.tlsCipherSuitesConfig;
this.tlsMax = builder.tlsMax;
this.tlsMin = builder.tlsMin;
this.updatetimestamp = builder.updatetimestamp;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return algorithm
*/
public String getAlgorithm() {
return this.algorithm;
}
/**
* @return caCertIndentifier
*/
public String getCaCertIndentifier() {
return this.caCertIndentifier;
}
/**
* @return certIndentifier
*/
public String getCertIndentifier() {
return this.certIndentifier;
}
/**
* @return certName
*/
public String getCertName() {
return this.certName;
}
/**
* @return createFrom
*/
public String getCreateFrom() {
return this.createFrom;
}
/**
* @return createTimestamp
*/
public Long getCreateTimestamp() {
return this.createTimestamp;
}
/**
* @return _default
*/
public Boolean get_default() {
return this._default;
}
/**
* @return domainId
*/
public String getDomainId() {
return this.domainId;
}
/**
* @return forceHttps
*/
public Boolean getForceHttps() {
return this.forceHttps;
}
/**
* @return http2Option
*/
public String getHttp2Option() {
return this.http2Option;
}
/**
* @return issuer
*/
public String getIssuer() {
return this.issuer;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return notAfterTimstamp
*/
public Long getNotAfterTimstamp() {
return this.notAfterTimstamp;
}
/**
* @return notBeforeTimestamp
*/
public Long getNotBeforeTimestamp() {
return this.notBeforeTimestamp;
}
/**
* @return protocol
*/
public String getProtocol() {
return this.protocol;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return sans
*/
public String getSans() {
return this.sans;
}
/**
* @return statisticsInfo
*/
public StatisticsInfo getStatisticsInfo() {
return this.statisticsInfo;
}
/**
* @return tlsCipherSuitesConfig
*/
public TlsCipherSuitesConfig getTlsCipherSuitesConfig() {
return this.tlsCipherSuitesConfig;
}
/**
* @return tlsMax
*/
public String getTlsMax() {
return this.tlsMax;
}
/**
* @return tlsMin
*/
public String getTlsMin() {
return this.tlsMin;
}
/**
* @return updatetimestamp
*/
public Long getUpdatetimestamp() {
return this.updatetimestamp;
}
public static final class Builder {
private String algorithm;
private String caCertIndentifier;
private String certIndentifier;
private String certName;
private String createFrom;
private Long createTimestamp;
private Boolean _default;
private String domainId;
private Boolean forceHttps;
private String http2Option;
private String issuer;
private String name;
private Long notAfterTimstamp;
private Long notBeforeTimestamp;
private String protocol;
private String resourceGroupId;
private String sans;
private StatisticsInfo statisticsInfo;
private TlsCipherSuitesConfig tlsCipherSuitesConfig;
private String tlsMax;
private String tlsMin;
private Long updatetimestamp;
/**
* Encryption algorithm name
*
* example:
* RSA
*/
public Builder algorithm(String algorithm) {
this.algorithm = algorithm;
return this;
}
/**
* Cloud Shield CA certificate identity.
*
* example:
* 223576-cn-hangzhou
*/
public Builder caCertIndentifier(String caCertIndentifier) {
this.caCertIndentifier = caCertIndentifier;
return this;
}
/**
* Cloud Shield certificate identity.
*
* example:
* 123576-cn-hangzhou
*/
public Builder certIndentifier(String certIndentifier) {
this.certIndentifier = certIndentifier;
return this;
}
/**
* Certificate name
*
* example:
* test-cert
*/
public Builder certName(String certName) {
this.certName = certName;
return this;
}
/**
* Where it was created from.
*
* example:
* Console
*/
public Builder createFrom(String createFrom) {
this.createFrom = createFrom;
return this;
}
/**
* Creation timestamp.
*
* example:
* 1719386834548
*/
public Builder createTimestamp(Long createTimestamp) {
this.createTimestamp = createTimestamp;
return this;
}
/**
* Whether it is the default domain.
*
* example:
* false
*/
public Builder _default(Boolean _default) {
this._default = _default;
return this;
}
/**
* Domain ID.
*
* example:
* d-cq1m3utlhtgvgkv7sitg
*/
public Builder domainId(String domainId) {
this.domainId = domainId;
return this;
}
/**
* Setting for HTTPS protocol type, whether to enable forced HTTPS redirection.
*
* example:
* false
*/
public Builder forceHttps(Boolean forceHttps) {
this.forceHttps = forceHttps;
return this;
}
/**
* HTTP/2 setting.
*
* example:
* Open
*/
public Builder http2Option(String http2Option) {
this.http2Option = http2Option;
return this;
}
/**
* Certificate issuer.
*
* example:
* Alibaba
*/
public Builder issuer(String issuer) {
this.issuer = issuer;
return this;
}
/**
* Domain name.
*
* example:
* abc.com
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* Certificate expiration time.
*
* example:
* 1719386834548
*/
public Builder notAfterTimstamp(Long notAfterTimstamp) {
this.notAfterTimstamp = notAfterTimstamp;
return this;
}
/**
* Certificate effective time.
*
* example:
* 1719386834548
*/
public Builder notBeforeTimestamp(Long notBeforeTimestamp) {
this.notBeforeTimestamp = notBeforeTimestamp;
return this;
}
/**
* The protocol types supported by the domain.
*
* - HTTP: Supports only HTTP protocol.
* - HTTPS: Supports only HTTPS protocol.
*
*
* example:
* HTTP
*/
public Builder protocol(String protocol) {
this.protocol = protocol;
return this;
}
/**
* resourceGroupId.
*/
public Builder resourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* All domain names bound to the certificate.
*
* example:
* aliyun.com
*/
public Builder sans(String sans) {
this.sans = sans;
return this;
}
/**
* statisticsInfo.
*/
public Builder statisticsInfo(StatisticsInfo statisticsInfo) {
this.statisticsInfo = statisticsInfo;
return this;
}
/**
* tlsCipherSuitesConfig.
*/
public Builder tlsCipherSuitesConfig(TlsCipherSuitesConfig tlsCipherSuitesConfig) {
this.tlsCipherSuitesConfig = tlsCipherSuitesConfig;
return this;
}
/**
* Maximum TLS protocol version, supports up to TLS 1.3.
*
* example:
* TLS 1.3
*/
public Builder tlsMax(String tlsMax) {
this.tlsMax = tlsMax;
return this;
}
/**
* Minimum TLS protocol version, supports down to TLS 1.0.
*
* example:
* TLS 1.0
*/
public Builder tlsMin(String tlsMin) {
this.tlsMin = tlsMin;
return this;
}
/**
* Update timestamp.
*
* example:
* 1719386834548
*/
public Builder updatetimestamp(Long updatetimestamp) {
this.updatetimestamp = updatetimestamp;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}