![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.rds20140815.models.DescribeDedicatedHostGroupsResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.rds20140815.models;
import com.aliyun.tea.*;
public class DescribeDedicatedHostGroupsResponseBody extends TeaModel {
/**
* The information about dedicated clusters returned.
*/
@NameInMap("DedicatedHostGroups")
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroups dedicatedHostGroups;
/**
* The request ID.
*
* example:
* AB44DC0A-7E77-442A-97A9-C6418694CB22
*/
@NameInMap("RequestId")
public String requestId;
public static DescribeDedicatedHostGroupsResponseBody build(java.util.Map map) throws Exception {
DescribeDedicatedHostGroupsResponseBody self = new DescribeDedicatedHostGroupsResponseBody();
return TeaModel.build(map, self);
}
public DescribeDedicatedHostGroupsResponseBody setDedicatedHostGroups(DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroups dedicatedHostGroups) {
this.dedicatedHostGroups = dedicatedHostGroups;
return this;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroups getDedicatedHostGroups() {
return this.dedicatedHostGroups;
}
public DescribeDedicatedHostGroupsResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroupsZoneIDList extends TeaModel {
@NameInMap("ZoneIDList")
public java.util.List zoneIDList;
public static DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroupsZoneIDList build(java.util.Map map) throws Exception {
DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroupsZoneIDList self = new DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroupsZoneIDList();
return TeaModel.build(map, self);
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroupsZoneIDList setZoneIDList(java.util.List zoneIDList) {
this.zoneIDList = zoneIDList;
return this;
}
public java.util.List getZoneIDList() {
return this.zoneIDList;
}
}
public static class DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups extends TeaModel {
/**
* The policy based on which the system allocates resources in the dedicated cluster. Valid values:
*
* - Evenly: The system evenly allocates the resources to all the hosts in the dedicated cluster.
* - Intensively: The system preferentially allocates the resources to the heavily loaded hosts in the dedicated cluster.
*
*
* example:
* Evenly
*/
@NameInMap("AllocationPolicy")
public String allocationPolicy;
/**
* The ID of the bastion host.
*
* example:
* bastionhost-cn-m7xxxxxxxx
*/
@NameInMap("BastionInstanceId")
public String bastionInstanceId;
/**
* The percentage of allocated cores in the dedicated cluster. Unit: %.
*
* example:
* 25
*/
@NameInMap("CpuAllocateRation")
public Float cpuAllocateRation;
/**
* The number of allocated cores in the dedicated cluster.
*
* example:
* 8
*/
@NameInMap("CpuAllocatedAmount")
public Float cpuAllocatedAmount;
/**
* The core overcommitment ratio of the dedicated cluster. Unit: %. For more information about the core overcommitment ratio, see Manage a dedicated cluster.
*
* example:
* 200
*/
@NameInMap("CpuAllocationRatio")
public Integer cpuAllocationRatio;
/**
* The timestamp when the dedicated cluster was created.
*
* example:
* 1571125370000
*/
@NameInMap("CreateTime")
public String createTime;
/**
* The type of storage media that is used for the hosts in the dedicated cluster. Valid values:
*
* - dhg_cloud_ssd: cloud disks
* - dhg_local_ssd: local disks
*
*
* example:
* dhg_cloud_ssd
*/
@NameInMap("DedicatedHostCountGroupByHostType")
public java.util.Map dedicatedHostCountGroupByHostType;
/**
* The name of the dedicated cluster.
*
* example:
* testHostGroup
*/
@NameInMap("DedicatedHostGroupDesc")
public String dedicatedHostGroupDesc;
/**
* The ID of the dedicated cluster.
*
* example:
* dhg-7a9xxxxxxxx
*/
@NameInMap("DedicatedHostGroupId")
public String dedicatedHostGroupId;
/**
* The percentage of allocated disk space in the dedicated cluster. Unit: %.
*
* example:
* 0.49
*/
@NameInMap("DiskAllocateRation")
public Float diskAllocateRation;
/**
* The amount of allocated disk space in the dedicated cluster. Unit: GB.
*
* example:
* 200
*/
@NameInMap("DiskAllocatedAmount")
public Float diskAllocatedAmount;
/**
* The disk overcommitment ratio of the dedicated cluster. Unit: %. For more information about the core overcommitment ratio, see Manage a dedicated cluster.
*
* example:
* 200
*/
@NameInMap("DiskAllocationRatio")
public Integer diskAllocationRatio;
/**
* The amount of used disk space in the dedicated cluster. Unit: GB.
*
* example:
* 20
*/
@NameInMap("DiskUsedAmount")
public Float diskUsedAmount;
/**
* The disk usage of the dedicated cluster. Unit: %.
*
* example:
* 0
*/
@NameInMap("DiskUtility")
public Float diskUtility;
/**
* The database engine of the instances in the dedicated cluster.
*
* example:
* MySQL
*/
@NameInMap("Engine")
public String engine;
/**
* The total number of hosts in the dedicated cluster.
*
* example:
* 3
*/
@NameInMap("HostNumber")
public Integer hostNumber;
/**
* The policy that is used to handle host failures. Valid values:
*
* - Auto: The system automatically replaces faulty hosts.
* - Manual: You must manually replace faulty hosts.
*
*
* example:
* Auto
*/
@NameInMap("HostReplacePolicy")
public String hostReplacePolicy;
/**
* The total number of instances in the dedicated cluster.
*
* example:
* 4
*/
@NameInMap("InstanceNumber")
public Integer instanceNumber;
/**
* The percentage of allocated memory space in the dedicated cluster. Unit: %.
*
* example:
* 33.7
*/
@NameInMap("MemAllocateRation")
public Float memAllocateRation;
/**
* The amount of allocated memory space in the dedicated cluster.
*
* example:
* 16384
*/
@NameInMap("MemAllocatedAmount")
public Float memAllocatedAmount;
/**
* The memory overcommitment ratio of the dedicated cluster. Unit: %. For more information about the core overcommitment ratio, see Manage a dedicated cluster.
*
* example:
* 90
*/
@NameInMap("MemAllocationRatio")
public Integer memAllocationRatio;
/**
* The amount of used memory space in the dedicated cluster. Unit: MB.
*
* example:
* 0
*/
@NameInMap("MemUsedAmount")
public Float memUsedAmount;
/**
* The memory usage of the dedicated cluster. Unit: %.
*
* example:
* 0
*/
@NameInMap("MemUtility")
public Float memUtility;
/**
* Indicates whether the feature that allows you to have the OS permissions on the host is enabled. Valid values:
*
* - 0 or null: The permissions cannot be granted.
* - 1: The permissions can be granted.
* - 3: The permissions have been granted.
*
*
* example:
* 3
*/
@NameInMap("OpenPermission")
public String openPermission;
/**
* The name and ID of the dedicated cluster. The value consists of DedicatedHostGroupDesc and DedicatedHostGroupId. Format: DedicatedHostGroupDesc/DedicatedHostGroupId.
*
* example:
* testHostGroup/dhg-7a9xxxxxxxx
*/
@NameInMap("Text")
public String text;
/**
* The ID of the virtual private cloud (VPC) to which the dedicated cluster belongs.
*
* example:
* vpc-bp1oxxxxxx
*/
@NameInMap("VPCId")
public String VPCId;
/**
* The zones to which the hosts of the dedicated cluster belong.
*/
@NameInMap("ZoneIDList")
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroupsZoneIDList zoneIDList;
public static DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups build(java.util.Map map) throws Exception {
DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups self = new DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups();
return TeaModel.build(map, self);
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setAllocationPolicy(String allocationPolicy) {
this.allocationPolicy = allocationPolicy;
return this;
}
public String getAllocationPolicy() {
return this.allocationPolicy;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setBastionInstanceId(String bastionInstanceId) {
this.bastionInstanceId = bastionInstanceId;
return this;
}
public String getBastionInstanceId() {
return this.bastionInstanceId;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setCpuAllocateRation(Float cpuAllocateRation) {
this.cpuAllocateRation = cpuAllocateRation;
return this;
}
public Float getCpuAllocateRation() {
return this.cpuAllocateRation;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setCpuAllocatedAmount(Float cpuAllocatedAmount) {
this.cpuAllocatedAmount = cpuAllocatedAmount;
return this;
}
public Float getCpuAllocatedAmount() {
return this.cpuAllocatedAmount;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setCpuAllocationRatio(Integer cpuAllocationRatio) {
this.cpuAllocationRatio = cpuAllocationRatio;
return this;
}
public Integer getCpuAllocationRatio() {
return this.cpuAllocationRatio;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
public String getCreateTime() {
return this.createTime;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setDedicatedHostCountGroupByHostType(java.util.Map dedicatedHostCountGroupByHostType) {
this.dedicatedHostCountGroupByHostType = dedicatedHostCountGroupByHostType;
return this;
}
public java.util.Map getDedicatedHostCountGroupByHostType() {
return this.dedicatedHostCountGroupByHostType;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setDedicatedHostGroupDesc(String dedicatedHostGroupDesc) {
this.dedicatedHostGroupDesc = dedicatedHostGroupDesc;
return this;
}
public String getDedicatedHostGroupDesc() {
return this.dedicatedHostGroupDesc;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setDedicatedHostGroupId(String dedicatedHostGroupId) {
this.dedicatedHostGroupId = dedicatedHostGroupId;
return this;
}
public String getDedicatedHostGroupId() {
return this.dedicatedHostGroupId;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setDiskAllocateRation(Float diskAllocateRation) {
this.diskAllocateRation = diskAllocateRation;
return this;
}
public Float getDiskAllocateRation() {
return this.diskAllocateRation;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setDiskAllocatedAmount(Float diskAllocatedAmount) {
this.diskAllocatedAmount = diskAllocatedAmount;
return this;
}
public Float getDiskAllocatedAmount() {
return this.diskAllocatedAmount;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setDiskAllocationRatio(Integer diskAllocationRatio) {
this.diskAllocationRatio = diskAllocationRatio;
return this;
}
public Integer getDiskAllocationRatio() {
return this.diskAllocationRatio;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setDiskUsedAmount(Float diskUsedAmount) {
this.diskUsedAmount = diskUsedAmount;
return this;
}
public Float getDiskUsedAmount() {
return this.diskUsedAmount;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setDiskUtility(Float diskUtility) {
this.diskUtility = diskUtility;
return this;
}
public Float getDiskUtility() {
return this.diskUtility;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setEngine(String engine) {
this.engine = engine;
return this;
}
public String getEngine() {
return this.engine;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setHostNumber(Integer hostNumber) {
this.hostNumber = hostNumber;
return this;
}
public Integer getHostNumber() {
return this.hostNumber;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setHostReplacePolicy(String hostReplacePolicy) {
this.hostReplacePolicy = hostReplacePolicy;
return this;
}
public String getHostReplacePolicy() {
return this.hostReplacePolicy;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setInstanceNumber(Integer instanceNumber) {
this.instanceNumber = instanceNumber;
return this;
}
public Integer getInstanceNumber() {
return this.instanceNumber;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setMemAllocateRation(Float memAllocateRation) {
this.memAllocateRation = memAllocateRation;
return this;
}
public Float getMemAllocateRation() {
return this.memAllocateRation;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setMemAllocatedAmount(Float memAllocatedAmount) {
this.memAllocatedAmount = memAllocatedAmount;
return this;
}
public Float getMemAllocatedAmount() {
return this.memAllocatedAmount;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setMemAllocationRatio(Integer memAllocationRatio) {
this.memAllocationRatio = memAllocationRatio;
return this;
}
public Integer getMemAllocationRatio() {
return this.memAllocationRatio;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setMemUsedAmount(Float memUsedAmount) {
this.memUsedAmount = memUsedAmount;
return this;
}
public Float getMemUsedAmount() {
return this.memUsedAmount;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setMemUtility(Float memUtility) {
this.memUtility = memUtility;
return this;
}
public Float getMemUtility() {
return this.memUtility;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setOpenPermission(String openPermission) {
this.openPermission = openPermission;
return this;
}
public String getOpenPermission() {
return this.openPermission;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setText(String text) {
this.text = text;
return this;
}
public String getText() {
return this.text;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setVPCId(String VPCId) {
this.VPCId = VPCId;
return this;
}
public String getVPCId() {
return this.VPCId;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups setZoneIDList(DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroupsZoneIDList zoneIDList) {
this.zoneIDList = zoneIDList;
return this;
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroupsZoneIDList getZoneIDList() {
return this.zoneIDList;
}
}
public static class DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroups extends TeaModel {
@NameInMap("DedicatedHostGroups")
public java.util.List dedicatedHostGroups;
public static DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroups build(java.util.Map map) throws Exception {
DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroups self = new DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroups();
return TeaModel.build(map, self);
}
public DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroups setDedicatedHostGroups(java.util.List dedicatedHostGroups) {
this.dedicatedHostGroups = dedicatedHostGroups;
return this;
}
public java.util.List getDedicatedHostGroups() {
return this.dedicatedHostGroups;
}
}
}