/src/main/java/com/tencentcloudapi/redis/v20180412/models/DisassociateSecurityGroupsRequest.java

https://github.com/TencentCloud/tencentcloud-sdk-java · Java · 104 lines · 39 code · 14 blank · 51 comment · 0 complexity · 87b87f696b614c4f2c0ba30bb77aff35 MD5 · raw file

  1. /*
  2. * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. package com.tencentcloudapi.redis.v20180412.models;
  17. import com.tencentcloudapi.common.AbstractModel;
  18. import com.google.gson.annotations.SerializedName;
  19. import com.google.gson.annotations.Expose;
  20. import java.util.HashMap;
  21. public class DisassociateSecurityGroupsRequest extends AbstractModel{
  22. /**
  23. * 数据库引擎名称:mariadb,cdb,cynosdb,dcdb,redis,mongodb 等。
  24. */
  25. @SerializedName("Product")
  26. @Expose
  27. private String Product;
  28. /**
  29. * 安全组Id。
  30. */
  31. @SerializedName("SecurityGroupId")
  32. @Expose
  33. private String SecurityGroupId;
  34. /**
  35. * 实例ID列表,一个或者多个实例Id组成的数组。
  36. */
  37. @SerializedName("InstanceIds")
  38. @Expose
  39. private String [] InstanceIds;
  40. /**
  41. * Get 数据库引擎名称:mariadb,cdb,cynosdb,dcdb,redis,mongodb 等。
  42. * @return Product 数据库引擎名称:mariadb,cdb,cynosdb,dcdb,redis,mongodb 等。
  43. */
  44. public String getProduct() {
  45. return this.Product;
  46. }
  47. /**
  48. * Set 数据库引擎名称:mariadb,cdb,cynosdb,dcdb,redis,mongodb 等。
  49. * @param Product 数据库引擎名称:mariadb,cdb,cynosdb,dcdb,redis,mongodb 等。
  50. */
  51. public void setProduct(String Product) {
  52. this.Product = Product;
  53. }
  54. /**
  55. * Get 安全组Id。
  56. * @return SecurityGroupId 安全组Id。
  57. */
  58. public String getSecurityGroupId() {
  59. return this.SecurityGroupId;
  60. }
  61. /**
  62. * Set 安全组Id。
  63. * @param SecurityGroupId 安全组Id。
  64. */
  65. public void setSecurityGroupId(String SecurityGroupId) {
  66. this.SecurityGroupId = SecurityGroupId;
  67. }
  68. /**
  69. * Get 实例ID列表,一个或者多个实例Id组成的数组。
  70. * @return InstanceIds 实例ID列表,一个或者多个实例Id组成的数组。
  71. */
  72. public String [] getInstanceIds() {
  73. return this.InstanceIds;
  74. }
  75. /**
  76. * Set 实例ID列表,一个或者多个实例Id组成的数组。
  77. * @param InstanceIds 实例ID列表,一个或者多个实例Id组成的数组。
  78. */
  79. public void setInstanceIds(String [] InstanceIds) {
  80. this.InstanceIds = InstanceIds;
  81. }
  82. /**
  83. * Internal implementation, normal users should not use it.
  84. */
  85. public void toMap(HashMap<String, String> map, String prefix) {
  86. this.setParamSimple(map, prefix + "Product", this.Product);
  87. this.setParamSimple(map, prefix + "SecurityGroupId", this.SecurityGroupId);
  88. this.setParamArraySimple(map, prefix + "InstanceIds.", this.InstanceIds);
  89. }
  90. }