public class RespDedicatedHost extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RespDedicatedHost.AutoPlacementEnum
在创建云服务器时(未指定专属主机ID),是否允许云服务器自动分配在一台可用的专属主机上。
|
static class |
RespDedicatedHost.StateEnum
专属主机状态。
|
| Constructor and Description |
|---|
RespDedicatedHost() |
public RespDedicatedHost withDedicatedHostId(String dedicatedHostId)
public String getDedicatedHostId()
public void setDedicatedHostId(String dedicatedHostId)
public RespDedicatedHost withName(String name)
public String getName()
public void setName(String name)
public RespDedicatedHost withAutoPlacement(RespDedicatedHost.AutoPlacementEnum autoPlacement)
public RespDedicatedHost.AutoPlacementEnum getAutoPlacement()
public void setAutoPlacement(RespDedicatedHost.AutoPlacementEnum autoPlacement)
public RespDedicatedHost withAvailabilityZone(String availabilityZone)
public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
public RespDedicatedHost withProjectId(String projectId)
public String getProjectId()
public void setProjectId(String projectId)
public RespDedicatedHost withHostProperties(RespHostProperty hostProperties)
public RespDedicatedHost withHostProperties(java.util.function.Consumer<RespHostProperty> hostPropertiesSetter)
public RespHostProperty getHostProperties()
public void setHostProperties(RespHostProperty hostProperties)
public RespDedicatedHost withState(RespDedicatedHost.StateEnum state)
public RespDedicatedHost.StateEnum getState()
public void setState(RespDedicatedHost.StateEnum state)
public RespDedicatedHost withAvailableVcpus(Integer availableVcpus)
public Integer getAvailableVcpus()
public void setAvailableVcpus(Integer availableVcpus)
public RespDedicatedHost withAvailableMemory(Integer availableMemory)
public Integer getAvailableMemory()
public void setAvailableMemory(Integer availableMemory)
public RespDedicatedHost withAllocatedAt(String allocatedAt)
public String getAllocatedAt()
public void setAllocatedAt(String allocatedAt)
public RespDedicatedHost withReleasedAt(String releasedAt)
public String getReleasedAt()
public void setReleasedAt(String releasedAt)
public RespDedicatedHost withInstanceTotal(Integer instanceTotal)
public Integer getInstanceTotal()
public void setInstanceTotal(Integer instanceTotal)
public RespDedicatedHost withInstanceUuids(List<String> instanceUuids)
public RespDedicatedHost addInstanceUuidsItem(String instanceUuidsItem)
public RespDedicatedHost withInstanceUuids(java.util.function.Consumer<List<String>> instanceUuidsSetter)
public List<String> getInstanceUuids()
public RespDedicatedHost withTags(Object tags)
public Object getTags()
public void setTags(Object tags)
public RespDedicatedHost withSysTags(Object sysTags)
public Object getSysTags()
public void setSysTags(Object sysTags)
Copyright © 2022. All rights reserved.