public class ReqAllocateDeh extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ReqAllocateDeh.AutoPlacementEnum
在创建云服务器时(未指定专属主机ID),是否允许云服务器自动分配在一台可用的专属主机上。 取值范围:“on”或“off”。 默认值:“on”。
|
| Constructor and Description |
|---|
ReqAllocateDeh() |
public ReqAllocateDeh withName(String name)
public String getName()
public void setName(String name)
public ReqAllocateDeh withAutoPlacement(ReqAllocateDeh.AutoPlacementEnum autoPlacement)
public ReqAllocateDeh.AutoPlacementEnum getAutoPlacement()
public void setAutoPlacement(ReqAllocateDeh.AutoPlacementEnum autoPlacement)
public ReqAllocateDeh withAvailabilityZone(String availabilityZone)
public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
public ReqAllocateDeh withHostType(String hostType)
public String getHostType()
public void setHostType(String hostType)
public ReqAllocateDeh withQuantity(Integer quantity)
public Integer getQuantity()
public void setQuantity(Integer quantity)
public ReqAllocateDeh withTags(List<ResourceTag> tags)
public ReqAllocateDeh addTagsItem(ResourceTag tagsItem)
public ReqAllocateDeh withTags(java.util.function.Consumer<List<ResourceTag>> tagsSetter)
public List<ResourceTag> getTags()
public void setTags(List<ResourceTag> tags)
Copyright © 2022. All rights reserved.