![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.polardb20170801.models.ModifyDBClusterSSLRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.polardb20170801.models;
import com.aliyun.tea.*;
public class ModifyDBClusterSSLRequest extends TeaModel {
/**
* The ID of the cluster.
* This parameter is required.
*
* example:
* pc-************
*/
@NameInMap("DBClusterId")
public String DBClusterId;
/**
* The ID of the endpoint.
*
*
*
* This parameter is required for a PolarDB for MySQL cluster.
*
* This parameter is not required for a PolarDB for Oracle or PolarDB for PostgreSQL cluster. By default, SSL encryption is enabled for all endpoints.
*
* You can call the DescribeDBClusterSSL operation to view the details of the endpoint.
*
*
*
* example:
* pe-******************
*/
@NameInMap("DBEndpointId")
public String DBEndpointId;
/**
* The network type supported by the endpoint that is specified by DBEndpointId. Valid values:
*
* - Public
* - Private
* - Inner
*
*
*
*
* This parameter is required for a PolarDB for MySQL cluster.
*
* This parameter is not required for a PolarDB for Oracle or PolarDB for PostgreSQL cluster. By default, SSL encryption is enabled for all endpoints.
*
*
*
* example:
* Public
*/
@NameInMap("NetType")
public String netType;
@NameInMap("OwnerAccount")
public String ownerAccount;
@NameInMap("OwnerId")
public Long ownerId;
@NameInMap("ResourceOwnerAccount")
public String resourceOwnerAccount;
@NameInMap("ResourceOwnerId")
public Long resourceOwnerId;
/**
* Specifies whether automatic rotation of SSL certificates is enabled.
*
* - Enable: The feature is enabled.
* - Disable: The feature is disabled.
*
*
* example:
* Enable
*/
@NameInMap("SSLAutoRotate")
public String SSLAutoRotate;
/**
* The SSL encryption status. Valid values:
*
* - Disable: SSL encryption is disabled.
* - Enable: SSL encryption is enabled.
* - Update: The SSL certificate is updated.
*
*
* After you enable SSL encryption or update the SSL certificate, you must download and configure the certificate. For more information, see Configure SSL encryption.
*
*
* example:
* Enable
*/
@NameInMap("SSLEnabled")
public String SSLEnabled;
public static ModifyDBClusterSSLRequest build(java.util.Map map) throws Exception {
ModifyDBClusterSSLRequest self = new ModifyDBClusterSSLRequest();
return TeaModel.build(map, self);
}
public ModifyDBClusterSSLRequest setDBClusterId(String DBClusterId) {
this.DBClusterId = DBClusterId;
return this;
}
public String getDBClusterId() {
return this.DBClusterId;
}
public ModifyDBClusterSSLRequest setDBEndpointId(String DBEndpointId) {
this.DBEndpointId = DBEndpointId;
return this;
}
public String getDBEndpointId() {
return this.DBEndpointId;
}
public ModifyDBClusterSSLRequest setNetType(String netType) {
this.netType = netType;
return this;
}
public String getNetType() {
return this.netType;
}
public ModifyDBClusterSSLRequest setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
return this;
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public ModifyDBClusterSSLRequest setOwnerId(Long ownerId) {
this.ownerId = ownerId;
return this;
}
public Long getOwnerId() {
return this.ownerId;
}
public ModifyDBClusterSSLRequest setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public ModifyDBClusterSSLRequest setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
return this;
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public ModifyDBClusterSSLRequest setSSLAutoRotate(String SSLAutoRotate) {
this.SSLAutoRotate = SSLAutoRotate;
return this;
}
public String getSSLAutoRotate() {
return this.SSLAutoRotate;
}
public ModifyDBClusterSSLRequest setSSLEnabled(String SSLEnabled) {
this.SSLEnabled = SSLEnabled;
return this;
}
public String getSSLEnabled() {
return this.SSLEnabled;
}
}