public class ZoneResourceConfiguration extends AbstractModel
Constructor and Description |
---|
ZoneResourceConfiguration() |
ZoneResourceConfiguration(ZoneResourceConfiguration source)
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.
|
Modifier and Type | Method and Description |
---|---|
AllNodeResourceSpec |
getAllNodeResourceSpec()
Get The specs of all nodes.
|
Placement |
getPlacement()
Get The instance location.
|
VirtualPrivateCloud |
getVirtualPrivateCloud()
Get The VPC configuration information.
|
String |
getZoneTag()
Get For a single AZ, `ZoneTag` can be left out.
|
void |
setAllNodeResourceSpec(AllNodeResourceSpec AllNodeResourceSpec)
Set The specs of all nodes.
|
void |
setPlacement(Placement Placement)
Set The instance location.
|
void |
setVirtualPrivateCloud(VirtualPrivateCloud VirtualPrivateCloud)
Set The VPC configuration information.
|
void |
setZoneTag(String ZoneTag)
Set For a single AZ, `ZoneTag` can be left out.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ZoneResourceConfiguration()
public ZoneResourceConfiguration(ZoneResourceConfiguration source)
public VirtualPrivateCloud getVirtualPrivateCloud()
public void setVirtualPrivateCloud(VirtualPrivateCloud VirtualPrivateCloud)
VirtualPrivateCloud
- The VPC configuration information. This parameter is used to specify the VPC ID, subnet ID and other information.
Note: This field may return null, indicating that no valid values can be obtained.public Placement getPlacement()
public void setPlacement(Placement Placement)
Placement
- The instance location. This parameter is used to specify the AZ, project, and other attributes of the instance.
Note: This field may return null, indicating that no valid values can be obtained.public AllNodeResourceSpec getAllNodeResourceSpec()
public void setAllNodeResourceSpec(AllNodeResourceSpec AllNodeResourceSpec)
AllNodeResourceSpec
- The specs of all nodes.
Note: This field may return null, indicating that no valid values can be obtained.public String getZoneTag()
public void setZoneTag(String ZoneTag)
ZoneTag
- For a single AZ, `ZoneTag` can be left out. For a double-AZ mode, `ZoneTag` is set to `master` and `standby` for the first and second AZs, respectively. If there are three AZs, `ZoneTag` is set to `master`, `standby`, and `third-party` for the first, second, and third AZs, respectively. Valid values:
Copyright © 2023. All rights reserved.