
com.tencentcloudapi.es.v20180416.models.UpdateInstanceRequest Maven / Gradle / Ivy
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.es.v20180416.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class UpdateInstanceRequest extends AbstractModel{
/**
* Instance ID
*/
@SerializedName("InstanceId")
@Expose
private String InstanceId;
/**
* Instance name, which can contain 1 to 50 English letters, Chinese characters, digits, dashes (-), or underscores (_)
*/
@SerializedName("InstanceName")
@Expose
private String InstanceName;
/**
* This parameter has been disused. Please use `NodeInfoList`
Number of nodes (2-50)
*/
@SerializedName("NodeNum")
@Expose
private Long NodeNum;
/**
* ES configuration item (JSON string)
*/
@SerializedName("EsConfig")
@Expose
private String EsConfig;
/**
* Password of the default user 'elastic', which must contain 8 to 16 characters, including at least two of the following three types of characters: [a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?]
*/
@SerializedName("Password")
@Expose
private String Password;
/**
* Access control list
*/
@SerializedName("EsAcl")
@Expose
private EsAcl EsAcl;
/**
* This parameter has been disused. Please use `NodeInfoList`
Disk size in GB
*/
@SerializedName("DiskSize")
@Expose
private Long DiskSize;
/**
* This parameter has been disused. Please use `NodeInfoList`
Node specification ES.S1.SMALL2: 1-core 2 GB ES.S1.MEDIUM4: 2-core 4 GB ES.S1.MEDIUM8: 2-core 8 GB ES.S1.LARGE16: 4-core 16 GB ES.S1.2XLARGE32: 8-core 32 GB ES.S1.4XLARGE32: 16-core 32 GB ES.S1.4XLARGE64: 16-core 64 GB
*/
@SerializedName("NodeType")
@Expose
private String NodeType;
/**
* This parameter has been disused. Please use `NodeInfoList`
Number of dedicated primary nodes (only 3 and 5 are supported)
*/
@SerializedName("MasterNodeNum")
@Expose
private Long MasterNodeNum;
/**
* This parameter has been disused. Please use `NodeInfoList`
Dedicated primary node specification ES.S1.SMALL2: 1-core 2 GB ES.S1.MEDIUM4: 2-core 4 GB ES.S1.MEDIUM8: 2-core 8 GB ES.S1.LARGE16: 4-core 16 GB ES.S1.2XLARGE32: 8-core 32 GB ES.S1.4XLARGE32: 16-core 32 GB ES.S1.4XLARGE64: 16-core 64 GB
*/
@SerializedName("MasterNodeType")
@Expose
private String MasterNodeType;
/**
* This parameter has been disused. Please use `NodeInfoList`
Dedicated primary node disk size in GB. This is 50 GB by default and currently cannot be customized
*/
@SerializedName("MasterNodeDiskSize")
@Expose
private Long MasterNodeDiskSize;
/**
* Whether to force restart during configuration update true: Yes false: No This needs to be set only for EsConfig. Default value: false
*/
@SerializedName("ForceRestart")
@Expose
private Boolean ForceRestart;
/**
* Auto-backup to COS
*/
@SerializedName("CosBackup")
@Expose
private CosBackup CosBackup;
/**
* Node information list. You can pass in only the nodes to be updated and their corresponding specification information. Supported operations include: modifying the number of nodes in the same type modifying the specification and disk size of nodes in the same type adding a node type (you must also specify the node type, quantity, specification, disk, etc.) The above operations can only be performed one at a time, and the disk type cannot be modified
*/
@SerializedName("NodeInfoList")
@Expose
private NodeInfo [] NodeInfoList;
/**
* Public network access status
*/
@SerializedName("PublicAccess")
@Expose
private String PublicAccess;
/**
* Public network ACL
*/
@SerializedName("EsPublicAcl")
@Expose
private EsPublicAcl EsPublicAcl;
/**
* Public network access status of Kibana
*/
@SerializedName("KibanaPublicAccess")
@Expose
private String KibanaPublicAccess;
/**
* Private network access status of Kibana
*/
@SerializedName("KibanaPrivateAccess")
@Expose
private String KibanaPrivateAccess;
/**
* Enables or disables user authentication for ES Basic Edition v6.8 and above
*/
@SerializedName("BasicSecurityType")
@Expose
private Long BasicSecurityType;
/**
* Kibana private port
*/
@SerializedName("KibanaPrivatePort")
@Expose
private Long KibanaPrivatePort;
/**
* 0: scaling in blue/green deployment mode without cluster restart (default); 1: scaling by unmounting disk with rolling cluster restart
*/
@SerializedName("ScaleType")
@Expose
private Long ScaleType;
/**
* Multi-AZ deployment
*/
@SerializedName("MultiZoneInfo")
@Expose
private ZoneDetail [] MultiZoneInfo;
/**
* Scenario template type. -1: not enabled; 1: general; 2: log; 3: search
*/
@SerializedName("SceneType")
@Expose
private Long SceneType;
/**
* Kibana configuration item (JSON string)
*/
@SerializedName("KibanaConfig")
@Expose
private String KibanaConfig;
/**
* Visual node configuration
*/
@SerializedName("WebNodeTypeInfo")
@Expose
private WebNodeTypeInfo WebNodeTypeInfo;
/**
* Whether to switch to the new network architecture
*/
@SerializedName("SwitchPrivateLink")
@Expose
private String SwitchPrivateLink;
/**
* Whether to enable Cerebro
*/
@SerializedName("EnableCerebro")
@Expose
private Boolean EnableCerebro;
/**
* Cerebro public network access status
*/
@SerializedName("CerebroPublicAccess")
@Expose
private String CerebroPublicAccess;
/**
* Cerebro private network access status
*/
@SerializedName("CerebroPrivateAccess")
@Expose
private String CerebroPrivateAccess;
/**
* Added or modified configuration set information
*/
@SerializedName("EsConfigSet")
@Expose
private EsConfigSetInfo EsConfigSet;
/**
* The maintenance time slot
*/
@SerializedName("OperationDuration")
@Expose
private OperationDurationUpdated OperationDuration;
/**
* Whether to enable the option for sending alerting messages over the public network.
*/
@SerializedName("KibanaAlteringPublicAccess")
@Expose
private String KibanaAlteringPublicAccess;
/**
* Get Instance ID
* @return InstanceId Instance ID
*/
public String getInstanceId() {
return this.InstanceId;
}
/**
* Set Instance ID
* @param InstanceId Instance ID
*/
public void setInstanceId(String InstanceId) {
this.InstanceId = InstanceId;
}
/**
* Get Instance name, which can contain 1 to 50 English letters, Chinese characters, digits, dashes (-), or underscores (_)
* @return InstanceName Instance name, which can contain 1 to 50 English letters, Chinese characters, digits, dashes (-), or underscores (_)
*/
public String getInstanceName() {
return this.InstanceName;
}
/**
* Set Instance name, which can contain 1 to 50 English letters, Chinese characters, digits, dashes (-), or underscores (_)
* @param InstanceName Instance name, which can contain 1 to 50 English letters, Chinese characters, digits, dashes (-), or underscores (_)
*/
public void setInstanceName(String InstanceName) {
this.InstanceName = InstanceName;
}
/**
* Get This parameter has been disused. Please use `NodeInfoList`
Number of nodes (2-50)
* @return NodeNum This parameter has been disused. Please use `NodeInfoList`
Number of nodes (2-50)
*/
public Long getNodeNum() {
return this.NodeNum;
}
/**
* Set This parameter has been disused. Please use `NodeInfoList`
Number of nodes (2-50)
* @param NodeNum This parameter has been disused. Please use `NodeInfoList`
Number of nodes (2-50)
*/
public void setNodeNum(Long NodeNum) {
this.NodeNum = NodeNum;
}
/**
* Get ES configuration item (JSON string)
* @return EsConfig ES configuration item (JSON string)
*/
public String getEsConfig() {
return this.EsConfig;
}
/**
* Set ES configuration item (JSON string)
* @param EsConfig ES configuration item (JSON string)
*/
public void setEsConfig(String EsConfig) {
this.EsConfig = EsConfig;
}
/**
* Get Password of the default user 'elastic', which must contain 8 to 16 characters, including at least two of the following three types of characters: [a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?]
* @return Password Password of the default user 'elastic', which must contain 8 to 16 characters, including at least two of the following three types of characters: [a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?]
*/
public String getPassword() {
return this.Password;
}
/**
* Set Password of the default user 'elastic', which must contain 8 to 16 characters, including at least two of the following three types of characters: [a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?]
* @param Password Password of the default user 'elastic', which must contain 8 to 16 characters, including at least two of the following three types of characters: [a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?]
*/
public void setPassword(String Password) {
this.Password = Password;
}
/**
* Get Access control list
* @return EsAcl Access control list
*/
public EsAcl getEsAcl() {
return this.EsAcl;
}
/**
* Set Access control list
* @param EsAcl Access control list
*/
public void setEsAcl(EsAcl EsAcl) {
this.EsAcl = EsAcl;
}
/**
* Get This parameter has been disused. Please use `NodeInfoList`
Disk size in GB
* @return DiskSize This parameter has been disused. Please use `NodeInfoList`
Disk size in GB
*/
public Long getDiskSize() {
return this.DiskSize;
}
/**
* Set This parameter has been disused. Please use `NodeInfoList`
Disk size in GB
* @param DiskSize This parameter has been disused. Please use `NodeInfoList`
Disk size in GB
*/
public void setDiskSize(Long DiskSize) {
this.DiskSize = DiskSize;
}
/**
* Get This parameter has been disused. Please use `NodeInfoList`
Node specification ES.S1.SMALL2: 1-core 2 GB ES.S1.MEDIUM4: 2-core 4 GB ES.S1.MEDIUM8: 2-core 8 GB ES.S1.LARGE16: 4-core 16 GB ES.S1.2XLARGE32: 8-core 32 GB ES.S1.4XLARGE32: 16-core 32 GB ES.S1.4XLARGE64: 16-core 64 GB
* @return NodeType This parameter has been disused. Please use `NodeInfoList`
Node specification ES.S1.SMALL2: 1-core 2 GB ES.S1.MEDIUM4: 2-core 4 GB ES.S1.MEDIUM8: 2-core 8 GB ES.S1.LARGE16: 4-core 16 GB ES.S1.2XLARGE32: 8-core 32 GB ES.S1.4XLARGE32: 16-core 32 GB ES.S1.4XLARGE64: 16-core 64 GB
*/
public String getNodeType() {
return this.NodeType;
}
/**
* Set This parameter has been disused. Please use `NodeInfoList`
Node specification ES.S1.SMALL2: 1-core 2 GB ES.S1.MEDIUM4: 2-core 4 GB ES.S1.MEDIUM8: 2-core 8 GB ES.S1.LARGE16: 4-core 16 GB ES.S1.2XLARGE32: 8-core 32 GB ES.S1.4XLARGE32: 16-core 32 GB ES.S1.4XLARGE64: 16-core 64 GB
* @param NodeType This parameter has been disused. Please use `NodeInfoList`
Node specification ES.S1.SMALL2: 1-core 2 GB ES.S1.MEDIUM4: 2-core 4 GB ES.S1.MEDIUM8: 2-core 8 GB ES.S1.LARGE16: 4-core 16 GB ES.S1.2XLARGE32: 8-core 32 GB ES.S1.4XLARGE32: 16-core 32 GB ES.S1.4XLARGE64: 16-core 64 GB
*/
public void setNodeType(String NodeType) {
this.NodeType = NodeType;
}
/**
* Get This parameter has been disused. Please use `NodeInfoList`
Number of dedicated primary nodes (only 3 and 5 are supported)
* @return MasterNodeNum This parameter has been disused. Please use `NodeInfoList`
Number of dedicated primary nodes (only 3 and 5 are supported)
*/
public Long getMasterNodeNum() {
return this.MasterNodeNum;
}
/**
* Set This parameter has been disused. Please use `NodeInfoList`
Number of dedicated primary nodes (only 3 and 5 are supported)
* @param MasterNodeNum This parameter has been disused. Please use `NodeInfoList`
Number of dedicated primary nodes (only 3 and 5 are supported)
*/
public void setMasterNodeNum(Long MasterNodeNum) {
this.MasterNodeNum = MasterNodeNum;
}
/**
* Get This parameter has been disused. Please use `NodeInfoList`
Dedicated primary node specification ES.S1.SMALL2: 1-core 2 GB ES.S1.MEDIUM4: 2-core 4 GB ES.S1.MEDIUM8: 2-core 8 GB ES.S1.LARGE16: 4-core 16 GB ES.S1.2XLARGE32: 8-core 32 GB ES.S1.4XLARGE32: 16-core 32 GB ES.S1.4XLARGE64: 16-core 64 GB
* @return MasterNodeType This parameter has been disused. Please use `NodeInfoList`
Dedicated primary node specification ES.S1.SMALL2: 1-core 2 GB ES.S1.MEDIUM4: 2-core 4 GB ES.S1.MEDIUM8: 2-core 8 GB ES.S1.LARGE16: 4-core 16 GB ES.S1.2XLARGE32: 8-core 32 GB ES.S1.4XLARGE32: 16-core 32 GB ES.S1.4XLARGE64: 16-core 64 GB
*/
public String getMasterNodeType() {
return this.MasterNodeType;
}
/**
* Set This parameter has been disused. Please use `NodeInfoList`
Dedicated primary node specification ES.S1.SMALL2: 1-core 2 GB ES.S1.MEDIUM4: 2-core 4 GB ES.S1.MEDIUM8: 2-core 8 GB ES.S1.LARGE16: 4-core 16 GB ES.S1.2XLARGE32: 8-core 32 GB ES.S1.4XLARGE32: 16-core 32 GB ES.S1.4XLARGE64: 16-core 64 GB
* @param MasterNodeType This parameter has been disused. Please use `NodeInfoList`
Dedicated primary node specification ES.S1.SMALL2: 1-core 2 GB ES.S1.MEDIUM4: 2-core 4 GB ES.S1.MEDIUM8: 2-core 8 GB ES.S1.LARGE16: 4-core 16 GB ES.S1.2XLARGE32: 8-core 32 GB ES.S1.4XLARGE32: 16-core 32 GB ES.S1.4XLARGE64: 16-core 64 GB
*/
public void setMasterNodeType(String MasterNodeType) {
this.MasterNodeType = MasterNodeType;
}
/**
* Get This parameter has been disused. Please use `NodeInfoList`
Dedicated primary node disk size in GB. This is 50 GB by default and currently cannot be customized
* @return MasterNodeDiskSize This parameter has been disused. Please use `NodeInfoList`
Dedicated primary node disk size in GB. This is 50 GB by default and currently cannot be customized
*/
public Long getMasterNodeDiskSize() {
return this.MasterNodeDiskSize;
}
/**
* Set This parameter has been disused. Please use `NodeInfoList`
Dedicated primary node disk size in GB. This is 50 GB by default and currently cannot be customized
* @param MasterNodeDiskSize This parameter has been disused. Please use `NodeInfoList`
Dedicated primary node disk size in GB. This is 50 GB by default and currently cannot be customized
*/
public void setMasterNodeDiskSize(Long MasterNodeDiskSize) {
this.MasterNodeDiskSize = MasterNodeDiskSize;
}
/**
* Get Whether to force restart during configuration update true: Yes false: No This needs to be set only for EsConfig. Default value: false
* @return ForceRestart Whether to force restart during configuration update true: Yes false: No This needs to be set only for EsConfig. Default value: false
*/
public Boolean getForceRestart() {
return this.ForceRestart;
}
/**
* Set Whether to force restart during configuration update true: Yes false: No This needs to be set only for EsConfig. Default value: false
* @param ForceRestart Whether to force restart during configuration update true: Yes false: No This needs to be set only for EsConfig. Default value: false
*/
public void setForceRestart(Boolean ForceRestart) {
this.ForceRestart = ForceRestart;
}
/**
* Get Auto-backup to COS
* @return CosBackup Auto-backup to COS
*/
public CosBackup getCosBackup() {
return this.CosBackup;
}
/**
* Set Auto-backup to COS
* @param CosBackup Auto-backup to COS
*/
public void setCosBackup(CosBackup CosBackup) {
this.CosBackup = CosBackup;
}
/**
* Get Node information list. You can pass in only the nodes to be updated and their corresponding specification information. Supported operations include: modifying the number of nodes in the same type modifying the specification and disk size of nodes in the same type adding a node type (you must also specify the node type, quantity, specification, disk, etc.) The above operations can only be performed one at a time, and the disk type cannot be modified
* @return NodeInfoList Node information list. You can pass in only the nodes to be updated and their corresponding specification information. Supported operations include: modifying the number of nodes in the same type modifying the specification and disk size of nodes in the same type adding a node type (you must also specify the node type, quantity, specification, disk, etc.) The above operations can only be performed one at a time, and the disk type cannot be modified
*/
public NodeInfo [] getNodeInfoList() {
return this.NodeInfoList;
}
/**
* Set Node information list. You can pass in only the nodes to be updated and their corresponding specification information. Supported operations include: modifying the number of nodes in the same type modifying the specification and disk size of nodes in the same type adding a node type (you must also specify the node type, quantity, specification, disk, etc.) The above operations can only be performed one at a time, and the disk type cannot be modified
* @param NodeInfoList Node information list. You can pass in only the nodes to be updated and their corresponding specification information. Supported operations include: modifying the number of nodes in the same type modifying the specification and disk size of nodes in the same type adding a node type (you must also specify the node type, quantity, specification, disk, etc.) The above operations can only be performed one at a time, and the disk type cannot be modified
*/
public void setNodeInfoList(NodeInfo [] NodeInfoList) {
this.NodeInfoList = NodeInfoList;
}
/**
* Get Public network access status
* @return PublicAccess Public network access status
*/
public String getPublicAccess() {
return this.PublicAccess;
}
/**
* Set Public network access status
* @param PublicAccess Public network access status
*/
public void setPublicAccess(String PublicAccess) {
this.PublicAccess = PublicAccess;
}
/**
* Get Public network ACL
* @return EsPublicAcl Public network ACL
*/
public EsPublicAcl getEsPublicAcl() {
return this.EsPublicAcl;
}
/**
* Set Public network ACL
* @param EsPublicAcl Public network ACL
*/
public void setEsPublicAcl(EsPublicAcl EsPublicAcl) {
this.EsPublicAcl = EsPublicAcl;
}
/**
* Get Public network access status of Kibana
* @return KibanaPublicAccess Public network access status of Kibana
*/
public String getKibanaPublicAccess() {
return this.KibanaPublicAccess;
}
/**
* Set Public network access status of Kibana
* @param KibanaPublicAccess Public network access status of Kibana
*/
public void setKibanaPublicAccess(String KibanaPublicAccess) {
this.KibanaPublicAccess = KibanaPublicAccess;
}
/**
* Get Private network access status of Kibana
* @return KibanaPrivateAccess Private network access status of Kibana
*/
public String getKibanaPrivateAccess() {
return this.KibanaPrivateAccess;
}
/**
* Set Private network access status of Kibana
* @param KibanaPrivateAccess Private network access status of Kibana
*/
public void setKibanaPrivateAccess(String KibanaPrivateAccess) {
this.KibanaPrivateAccess = KibanaPrivateAccess;
}
/**
* Get Enables or disables user authentication for ES Basic Edition v6.8 and above
* @return BasicSecurityType Enables or disables user authentication for ES Basic Edition v6.8 and above
*/
public Long getBasicSecurityType() {
return this.BasicSecurityType;
}
/**
* Set Enables or disables user authentication for ES Basic Edition v6.8 and above
* @param BasicSecurityType Enables or disables user authentication for ES Basic Edition v6.8 and above
*/
public void setBasicSecurityType(Long BasicSecurityType) {
this.BasicSecurityType = BasicSecurityType;
}
/**
* Get Kibana private port
* @return KibanaPrivatePort Kibana private port
*/
public Long getKibanaPrivatePort() {
return this.KibanaPrivatePort;
}
/**
* Set Kibana private port
* @param KibanaPrivatePort Kibana private port
*/
public void setKibanaPrivatePort(Long KibanaPrivatePort) {
this.KibanaPrivatePort = KibanaPrivatePort;
}
/**
* Get 0: scaling in blue/green deployment mode without cluster restart (default); 1: scaling by unmounting disk with rolling cluster restart
* @return ScaleType 0: scaling in blue/green deployment mode without cluster restart (default); 1: scaling by unmounting disk with rolling cluster restart
*/
public Long getScaleType() {
return this.ScaleType;
}
/**
* Set 0: scaling in blue/green deployment mode without cluster restart (default); 1: scaling by unmounting disk with rolling cluster restart
* @param ScaleType 0: scaling in blue/green deployment mode without cluster restart (default); 1: scaling by unmounting disk with rolling cluster restart
*/
public void setScaleType(Long ScaleType) {
this.ScaleType = ScaleType;
}
/**
* Get Multi-AZ deployment
* @return MultiZoneInfo Multi-AZ deployment
*/
public ZoneDetail [] getMultiZoneInfo() {
return this.MultiZoneInfo;
}
/**
* Set Multi-AZ deployment
* @param MultiZoneInfo Multi-AZ deployment
*/
public void setMultiZoneInfo(ZoneDetail [] MultiZoneInfo) {
this.MultiZoneInfo = MultiZoneInfo;
}
/**
* Get Scenario template type. -1: not enabled; 1: general; 2: log; 3: search
* @return SceneType Scenario template type. -1: not enabled; 1: general; 2: log; 3: search
*/
public Long getSceneType() {
return this.SceneType;
}
/**
* Set Scenario template type. -1: not enabled; 1: general; 2: log; 3: search
* @param SceneType Scenario template type. -1: not enabled; 1: general; 2: log; 3: search
*/
public void setSceneType(Long SceneType) {
this.SceneType = SceneType;
}
/**
* Get Kibana configuration item (JSON string)
* @return KibanaConfig Kibana configuration item (JSON string)
*/
public String getKibanaConfig() {
return this.KibanaConfig;
}
/**
* Set Kibana configuration item (JSON string)
* @param KibanaConfig Kibana configuration item (JSON string)
*/
public void setKibanaConfig(String KibanaConfig) {
this.KibanaConfig = KibanaConfig;
}
/**
* Get Visual node configuration
* @return WebNodeTypeInfo Visual node configuration
*/
public WebNodeTypeInfo getWebNodeTypeInfo() {
return this.WebNodeTypeInfo;
}
/**
* Set Visual node configuration
* @param WebNodeTypeInfo Visual node configuration
*/
public void setWebNodeTypeInfo(WebNodeTypeInfo WebNodeTypeInfo) {
this.WebNodeTypeInfo = WebNodeTypeInfo;
}
/**
* Get Whether to switch to the new network architecture
* @return SwitchPrivateLink Whether to switch to the new network architecture
*/
public String getSwitchPrivateLink() {
return this.SwitchPrivateLink;
}
/**
* Set Whether to switch to the new network architecture
* @param SwitchPrivateLink Whether to switch to the new network architecture
*/
public void setSwitchPrivateLink(String SwitchPrivateLink) {
this.SwitchPrivateLink = SwitchPrivateLink;
}
/**
* Get Whether to enable Cerebro
* @return EnableCerebro Whether to enable Cerebro
*/
public Boolean getEnableCerebro() {
return this.EnableCerebro;
}
/**
* Set Whether to enable Cerebro
* @param EnableCerebro Whether to enable Cerebro
*/
public void setEnableCerebro(Boolean EnableCerebro) {
this.EnableCerebro = EnableCerebro;
}
/**
* Get Cerebro public network access status
* @return CerebroPublicAccess Cerebro public network access status
*/
public String getCerebroPublicAccess() {
return this.CerebroPublicAccess;
}
/**
* Set Cerebro public network access status
* @param CerebroPublicAccess Cerebro public network access status
*/
public void setCerebroPublicAccess(String CerebroPublicAccess) {
this.CerebroPublicAccess = CerebroPublicAccess;
}
/**
* Get Cerebro private network access status
* @return CerebroPrivateAccess Cerebro private network access status
*/
public String getCerebroPrivateAccess() {
return this.CerebroPrivateAccess;
}
/**
* Set Cerebro private network access status
* @param CerebroPrivateAccess Cerebro private network access status
*/
public void setCerebroPrivateAccess(String CerebroPrivateAccess) {
this.CerebroPrivateAccess = CerebroPrivateAccess;
}
/**
* Get Added or modified configuration set information
* @return EsConfigSet Added or modified configuration set information
*/
public EsConfigSetInfo getEsConfigSet() {
return this.EsConfigSet;
}
/**
* Set Added or modified configuration set information
* @param EsConfigSet Added or modified configuration set information
*/
public void setEsConfigSet(EsConfigSetInfo EsConfigSet) {
this.EsConfigSet = EsConfigSet;
}
/**
* Get The maintenance time slot
* @return OperationDuration The maintenance time slot
*/
public OperationDurationUpdated getOperationDuration() {
return this.OperationDuration;
}
/**
* Set The maintenance time slot
* @param OperationDuration The maintenance time slot
*/
public void setOperationDuration(OperationDurationUpdated OperationDuration) {
this.OperationDuration = OperationDuration;
}
/**
* Get Whether to enable the option for sending alerting messages over the public network.
* @return KibanaAlteringPublicAccess Whether to enable the option for sending alerting messages over the public network.
*/
public String getKibanaAlteringPublicAccess() {
return this.KibanaAlteringPublicAccess;
}
/**
* Set Whether to enable the option for sending alerting messages over the public network.
* @param KibanaAlteringPublicAccess Whether to enable the option for sending alerting messages over the public network.
*/
public void setKibanaAlteringPublicAccess(String KibanaAlteringPublicAccess) {
this.KibanaAlteringPublicAccess = KibanaAlteringPublicAccess;
}
public UpdateInstanceRequest() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public UpdateInstanceRequest(UpdateInstanceRequest source) {
if (source.InstanceId != null) {
this.InstanceId = new String(source.InstanceId);
}
if (source.InstanceName != null) {
this.InstanceName = new String(source.InstanceName);
}
if (source.NodeNum != null) {
this.NodeNum = new Long(source.NodeNum);
}
if (source.EsConfig != null) {
this.EsConfig = new String(source.EsConfig);
}
if (source.Password != null) {
this.Password = new String(source.Password);
}
if (source.EsAcl != null) {
this.EsAcl = new EsAcl(source.EsAcl);
}
if (source.DiskSize != null) {
this.DiskSize = new Long(source.DiskSize);
}
if (source.NodeType != null) {
this.NodeType = new String(source.NodeType);
}
if (source.MasterNodeNum != null) {
this.MasterNodeNum = new Long(source.MasterNodeNum);
}
if (source.MasterNodeType != null) {
this.MasterNodeType = new String(source.MasterNodeType);
}
if (source.MasterNodeDiskSize != null) {
this.MasterNodeDiskSize = new Long(source.MasterNodeDiskSize);
}
if (source.ForceRestart != null) {
this.ForceRestart = new Boolean(source.ForceRestart);
}
if (source.CosBackup != null) {
this.CosBackup = new CosBackup(source.CosBackup);
}
if (source.NodeInfoList != null) {
this.NodeInfoList = new NodeInfo[source.NodeInfoList.length];
for (int i = 0; i < source.NodeInfoList.length; i++) {
this.NodeInfoList[i] = new NodeInfo(source.NodeInfoList[i]);
}
}
if (source.PublicAccess != null) {
this.PublicAccess = new String(source.PublicAccess);
}
if (source.EsPublicAcl != null) {
this.EsPublicAcl = new EsPublicAcl(source.EsPublicAcl);
}
if (source.KibanaPublicAccess != null) {
this.KibanaPublicAccess = new String(source.KibanaPublicAccess);
}
if (source.KibanaPrivateAccess != null) {
this.KibanaPrivateAccess = new String(source.KibanaPrivateAccess);
}
if (source.BasicSecurityType != null) {
this.BasicSecurityType = new Long(source.BasicSecurityType);
}
if (source.KibanaPrivatePort != null) {
this.KibanaPrivatePort = new Long(source.KibanaPrivatePort);
}
if (source.ScaleType != null) {
this.ScaleType = new Long(source.ScaleType);
}
if (source.MultiZoneInfo != null) {
this.MultiZoneInfo = new ZoneDetail[source.MultiZoneInfo.length];
for (int i = 0; i < source.MultiZoneInfo.length; i++) {
this.MultiZoneInfo[i] = new ZoneDetail(source.MultiZoneInfo[i]);
}
}
if (source.SceneType != null) {
this.SceneType = new Long(source.SceneType);
}
if (source.KibanaConfig != null) {
this.KibanaConfig = new String(source.KibanaConfig);
}
if (source.WebNodeTypeInfo != null) {
this.WebNodeTypeInfo = new WebNodeTypeInfo(source.WebNodeTypeInfo);
}
if (source.SwitchPrivateLink != null) {
this.SwitchPrivateLink = new String(source.SwitchPrivateLink);
}
if (source.EnableCerebro != null) {
this.EnableCerebro = new Boolean(source.EnableCerebro);
}
if (source.CerebroPublicAccess != null) {
this.CerebroPublicAccess = new String(source.CerebroPublicAccess);
}
if (source.CerebroPrivateAccess != null) {
this.CerebroPrivateAccess = new String(source.CerebroPrivateAccess);
}
if (source.EsConfigSet != null) {
this.EsConfigSet = new EsConfigSetInfo(source.EsConfigSet);
}
if (source.OperationDuration != null) {
this.OperationDuration = new OperationDurationUpdated(source.OperationDuration);
}
if (source.KibanaAlteringPublicAccess != null) {
this.KibanaAlteringPublicAccess = new String(source.KibanaAlteringPublicAccess);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "InstanceId", this.InstanceId);
this.setParamSimple(map, prefix + "InstanceName", this.InstanceName);
this.setParamSimple(map, prefix + "NodeNum", this.NodeNum);
this.setParamSimple(map, prefix + "EsConfig", this.EsConfig);
this.setParamSimple(map, prefix + "Password", this.Password);
this.setParamObj(map, prefix + "EsAcl.", this.EsAcl);
this.setParamSimple(map, prefix + "DiskSize", this.DiskSize);
this.setParamSimple(map, prefix + "NodeType", this.NodeType);
this.setParamSimple(map, prefix + "MasterNodeNum", this.MasterNodeNum);
this.setParamSimple(map, prefix + "MasterNodeType", this.MasterNodeType);
this.setParamSimple(map, prefix + "MasterNodeDiskSize", this.MasterNodeDiskSize);
this.setParamSimple(map, prefix + "ForceRestart", this.ForceRestart);
this.setParamObj(map, prefix + "CosBackup.", this.CosBackup);
this.setParamArrayObj(map, prefix + "NodeInfoList.", this.NodeInfoList);
this.setParamSimple(map, prefix + "PublicAccess", this.PublicAccess);
this.setParamObj(map, prefix + "EsPublicAcl.", this.EsPublicAcl);
this.setParamSimple(map, prefix + "KibanaPublicAccess", this.KibanaPublicAccess);
this.setParamSimple(map, prefix + "KibanaPrivateAccess", this.KibanaPrivateAccess);
this.setParamSimple(map, prefix + "BasicSecurityType", this.BasicSecurityType);
this.setParamSimple(map, prefix + "KibanaPrivatePort", this.KibanaPrivatePort);
this.setParamSimple(map, prefix + "ScaleType", this.ScaleType);
this.setParamArrayObj(map, prefix + "MultiZoneInfo.", this.MultiZoneInfo);
this.setParamSimple(map, prefix + "SceneType", this.SceneType);
this.setParamSimple(map, prefix + "KibanaConfig", this.KibanaConfig);
this.setParamObj(map, prefix + "WebNodeTypeInfo.", this.WebNodeTypeInfo);
this.setParamSimple(map, prefix + "SwitchPrivateLink", this.SwitchPrivateLink);
this.setParamSimple(map, prefix + "EnableCerebro", this.EnableCerebro);
this.setParamSimple(map, prefix + "CerebroPublicAccess", this.CerebroPublicAccess);
this.setParamSimple(map, prefix + "CerebroPrivateAccess", this.CerebroPrivateAccess);
this.setParamObj(map, prefix + "EsConfigSet.", this.EsConfigSet);
this.setParamObj(map, prefix + "OperationDuration.", this.OperationDuration);
this.setParamSimple(map, prefix + "KibanaAlteringPublicAccess", this.KibanaAlteringPublicAccess);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy