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

com.aliyun.sdk.service.waf_openapi20211001.models.DescribeDefaultHttpsResponseBody 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 DescribeDefaultHttpsResponseBody} extends {@link TeaModel}
 *
 * 

DescribeDefaultHttpsResponseBody

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

The default SSL and TLS settings.

*/ public Builder defaultHttps(DefaultHttps defaultHttps) { this.defaultHttps = defaultHttps; return this; } /** *

The request ID.

* * example: *

F35F45B0-5D6B-4238-BE02-A62D****E840

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

DescribeDefaultHttpsResponseBody

*/ public static class DefaultHttps extends TeaModel { @com.aliyun.core.annotation.NameInMap("CertId") private String certId; @com.aliyun.core.annotation.NameInMap("CipherSuite") private String cipherSuite; @com.aliyun.core.annotation.NameInMap("CustomCiphers") private String customCiphers; @com.aliyun.core.annotation.NameInMap("EnableTLSv3") private Boolean enableTLSv3; @com.aliyun.core.annotation.NameInMap("TLSVersion") private String TLSVersion; private DefaultHttps(Builder builder) { this.certId = builder.certId; this.cipherSuite = builder.cipherSuite; this.customCiphers = builder.customCiphers; this.enableTLSv3 = builder.enableTLSv3; this.TLSVersion = builder.TLSVersion; } public static Builder builder() { return new Builder(); } public static DefaultHttps create() { return builder().build(); } /** * @return certId */ public String getCertId() { return this.certId; } /** * @return cipherSuite */ public String getCipherSuite() { return this.cipherSuite; } /** * @return customCiphers */ public String getCustomCiphers() { return this.customCiphers; } /** * @return enableTLSv3 */ public Boolean getEnableTLSv3() { return this.enableTLSv3; } /** * @return TLSVersion */ public String getTLSVersion() { return this.TLSVersion; } public static final class Builder { private String certId; private String cipherSuite; private String customCiphers; private Boolean enableTLSv3; private String TLSVersion; /** *

The certificate ID.

* * example: *

123-cn-hangzhou

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

The type of the cipher suites. Valid values:

*
    *
  • 1: all cipher suites.
  • *
  • 2: strong cipher suites.
  • *
  • 99: custom cipher suites.
  • *
* * example: *

1

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

The custom cipher suite.

* * example: *

ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384

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

Indicates whether TLS 1.3 is supported. Valid values:

*
    *
  • true
  • *
  • false
  • *
* * example: *

true

*/ public Builder enableTLSv3(Boolean enableTLSv3) { this.enableTLSv3 = enableTLSv3; return this; } /** *

The version of the TLS protocol. Valid values:

*
    *
  • tlsv1
  • *
  • tlsv1.1
  • *
  • tlsv1.2
  • *
* * example: *

tlsv1

*/ public Builder TLSVersion(String TLSVersion) { this.TLSVersion = TLSVersion; return this; } public DefaultHttps build() { return new DefaultHttps(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy