public final class SddcConfig extends java.lang.Object implements java.io.Serializable, StaticStructure
Modifier and Type | Class and Description |
---|---|
static class |
SddcConfig.Builder
Builder class for
SddcConfig . |
Modifier and Type | Field and Description |
---|---|
protected StructValue |
__dynamicStructureFields |
static java.lang.String |
_TYPE_IDENTIFIER
Identifier denoting this class, when it is used in polymorphic context.
|
static java.lang.String |
DEPLOYMENT_TYPE_MULTIAZ |
static java.lang.String |
DEPLOYMENT_TYPE_SINGLEAZ |
static java.lang.String |
HOST_INSTANCE_TYPE_I3_METAL |
static java.lang.String |
HOST_INSTANCE_TYPE_I3EN_METAL |
static java.lang.String |
HOST_INSTANCE_TYPE_I4I_METAL |
static java.lang.String |
HOST_INSTANCE_TYPE_R5_METAL |
static java.lang.String |
PROVIDER_AWS |
static java.lang.String |
PROVIDER_ZEROCLOUD |
static java.lang.String |
SIZE_LARGE |
static java.lang.String |
SIZE_MEDIUM |
static java.lang.String |
SIZE_NSX_LARGE |
static java.lang.String |
SIZE_NSX_SMALL |
static java.lang.String |
VSAN_VERSION_NOVSAN |
static java.lang.String |
VSAN_VERSION_VSAN1 |
static java.lang.String |
VSAN_VERSION_VSANESA |
Modifier | Constructor and Description |
---|---|
|
SddcConfig()
Default constructor.
|
protected |
SddcConfig(StructValue __dynamicStructureFields) |
Modifier and Type | Method and Description |
---|---|
<T extends Structure> |
_convertTo(java.lang.Class<T> clazz)
Converts this structure into an instance of the provided class structure
if possible.
|
java.lang.String |
_getCanonicalName()
Returns the canonical name of the structure.
|
static java.lang.String |
_getCanonicalTypeName()
Returns the canonical type name.
|
static com.vmware.vapi.bindings.type.StructType |
_getClassType()
WARNING: Internal method, subject to change in future versions.
|
StructValue |
_getDataValue()
Returns this
Structure represented in the dynamic
DataValue model. |
DataValue |
_getDynamicField(java.lang.String fieldName)
Get a dynamic field value, doesn't allow access to static fields (which
have getters/setters).
|
java.util.Set<java.lang.String> |
_getDynamicFieldNames()
Get the names of the dynamic fields in the structure.
|
com.vmware.vapi.bindings.type.StructType |
_getType()
WARNING: Internal method, subject to change in future versions.
|
boolean |
_hasTypeNameOf(java.lang.Class<? extends Structure> clazz)
Checks if the runtime type name of this structure matches the type
represented by the specified binding class.
|
static SddcConfig |
_newInstance(StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value. WARNING: The returned object is not fully initialized. |
static SddcConfig |
_newInstance2(StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism. |
void |
_setDynamicField(java.lang.String fieldName,
DataValue fieldValue)
Sets a dynamic field value.
|
protected void |
_updateDataValue(StructValue structValue) |
void |
_validate()
Validates the state of the discriminated unions and HasFieldsOf
restrictions (if any) in this Java language binding
Structure . |
boolean |
equals(java.lang.Object obj) |
AccountLinkConfig |
getAccountLinkConfig()
The account linking configuration, we will keep this one and remove
accountLinkSddcConfig finally.
|
java.util.List<AccountLinkSddcConfig> |
getAccountLinkSddcConfig()
A list of the SDDC linking configurations to use.
|
java.lang.String |
getDeploymentType()
Possible values are:
DEPLOYMENT_TYPE_SINGLEAZ DEPLOYMENT_TYPE_MULTIAZ Denotes if
request is for a SingleAZ or a MultiAZ SDDC. |
java.lang.String |
getHostInstanceType()
Possible values are:
HOST_INSTANCE_TYPE_I3_METAL HOST_INSTANCE_TYPE_R5_METAL HOST_INSTANCE_TYPE_I3EN_METAL HOST_INSTANCE_TYPE_I4I_METAL The
instance type for the esx hosts in the primary cluster of the SDDC. |
MsftLicensingConfig |
getMsftLicenseConfig()
Indicates the desired licensing support, if any, of Microsoft software.
|
java.lang.String |
getName() |
long |
getNumHosts() |
java.lang.String |
getOutpostId()
Outpost ID of the SDDC.
|
java.lang.String |
getProvider()
Possible values are:
PROVIDER_AWS PROVIDER_ZEROCLOUD Determines what
additional properties are available based on cloud provider. |
java.lang.String |
getRegion() |
java.lang.String |
getSddcId()
If provided, will be assigned as SDDC id of the provisioned SDDC.
|
java.lang.String |
getSddcTemplateId()
If provided, configuration from the template will applied to the provisioned
SDDC.
|
java.lang.String |
getSddcType()
Denotes the sddc type , if the value is null or empty, the type is considered as
default.
|
java.lang.String |
getSize()
Possible values are:
SIZE_NSX_SMALL SIZE_MEDIUM SIZE_LARGE SIZE_NSX_LARGE The size of the
vCenter and NSX appliances. |
java.lang.Boolean |
getSkipCreatingVxlan()
skip creating vxlan for compute gateway for SDDC provisioning
|
java.lang.String |
getSsoDomain()
The SSO domain name to use for vSphere users.
|
java.lang.Long |
getStorageCapacity()
The storage capacity value to be requested for the sddc primary cluster, in
GiBs.
|
java.lang.String |
getVpcCidr()
AWS VPC IP range.
|
java.lang.String |
getVsanVersion()
Possible values are:
VSAN_VERSION_VSAN1 VSAN_VERSION_VSANESA VSAN_VERSION_NOVSAN The vSAN version
to be used in the SDDC's primary cluster. |
java.lang.String |
getVxlanSubnet()
VXLAN IP subnet in CIDR for compute gateway
|
int |
hashCode() |
void |
setAccountLinkConfig(AccountLinkConfig accountLinkConfig)
The account linking configuration, we will keep this one and remove
accountLinkSddcConfig finally.
|
void |
setAccountLinkSddcConfig(java.util.List<AccountLinkSddcConfig> accountLinkSddcConfig)
A list of the SDDC linking configurations to use.
|
void |
setDeploymentType(java.lang.String deploymentType)
Possible values are:
DEPLOYMENT_TYPE_SINGLEAZ DEPLOYMENT_TYPE_MULTIAZ Denotes if
request is for a SingleAZ or a MultiAZ SDDC. |
void |
setHostInstanceType(java.lang.String hostInstanceType)
Possible values are:
HOST_INSTANCE_TYPE_I3_METAL HOST_INSTANCE_TYPE_R5_METAL HOST_INSTANCE_TYPE_I3EN_METAL HOST_INSTANCE_TYPE_I4I_METAL The
instance type for the esx hosts in the primary cluster of the SDDC. |
void |
setMsftLicenseConfig(MsftLicensingConfig msftLicenseConfig)
Indicates the desired licensing support, if any, of Microsoft software.
|
void |
setName(java.lang.String name) |
void |
setNumHosts(long numHosts) |
void |
setOutpostId(java.lang.String outpostId)
Outpost ID of the SDDC.
|
void |
setRegion(java.lang.String region) |
void |
setSddcId(java.lang.String sddcId)
If provided, will be assigned as SDDC id of the provisioned SDDC.
|
void |
setSddcTemplateId(java.lang.String sddcTemplateId)
If provided, configuration from the template will applied to the provisioned
SDDC.
|
void |
setSddcType(java.lang.String sddcType)
Denotes the sddc type , if the value is null or empty, the type is considered as
default.
|
void |
setSize(java.lang.String size)
Possible values are:
SIZE_NSX_SMALL SIZE_MEDIUM SIZE_LARGE SIZE_NSX_LARGE The size of the
vCenter and NSX appliances. |
void |
setSkipCreatingVxlan(java.lang.Boolean skipCreatingVxlan)
skip creating vxlan for compute gateway for SDDC provisioning
|
void |
setSsoDomain(java.lang.String ssoDomain)
The SSO domain name to use for vSphere users.
|
void |
setStorageCapacity(java.lang.Long storageCapacity)
The storage capacity value to be requested for the sddc primary cluster, in
GiBs.
|
void |
setVpcCidr(java.lang.String vpcCidr)
AWS VPC IP range.
|
void |
setVsanVersion(java.lang.String vsanVersion)
Possible values are:
VSAN_VERSION_VSAN1 VSAN_VERSION_VSANESA VSAN_VERSION_NOVSAN The vSAN version
to be used in the SDDC's primary cluster. |
void |
setVxlanSubnet(java.lang.String vxlanSubnet)
VXLAN IP subnet in CIDR for compute gateway
|
java.lang.String |
toString()
Returns a string representation of this structure.
|
public static final java.lang.String _TYPE_IDENTIFIER
This value should be assigned to the property which is used to discriminate the actual type used in the polymorphic context.
public static final java.lang.String SIZE_NSX_SMALL
public static final java.lang.String SIZE_MEDIUM
public static final java.lang.String SIZE_LARGE
public static final java.lang.String SIZE_NSX_LARGE
public static final java.lang.String HOST_INSTANCE_TYPE_I3_METAL
public static final java.lang.String HOST_INSTANCE_TYPE_R5_METAL
public static final java.lang.String HOST_INSTANCE_TYPE_I3EN_METAL
public static final java.lang.String HOST_INSTANCE_TYPE_I4I_METAL
public static final java.lang.String VSAN_VERSION_VSAN1
public static final java.lang.String VSAN_VERSION_VSANESA
public static final java.lang.String VSAN_VERSION_NOVSAN
public static final java.lang.String PROVIDER_AWS
public static final java.lang.String PROVIDER_ZEROCLOUD
public static final java.lang.String DEPLOYMENT_TYPE_SINGLEAZ
public static final java.lang.String DEPLOYMENT_TYPE_MULTIAZ
protected StructValue __dynamicStructureFields
public SddcConfig()
protected SddcConfig(StructValue __dynamicStructureFields)
public MsftLicensingConfig getMsftLicenseConfig()
public void setMsftLicenseConfig(MsftLicensingConfig msftLicenseConfig)
msftLicenseConfig
- New value for the property.public AccountLinkConfig getAccountLinkConfig()
public void setAccountLinkConfig(AccountLinkConfig accountLinkConfig)
accountLinkConfig
- New value for the property.public java.lang.String getVpcCidr()
public void setVpcCidr(java.lang.String vpcCidr)
vpcCidr
- New value for the property.public java.lang.Boolean getSkipCreatingVxlan()
public void setSkipCreatingVxlan(java.lang.Boolean skipCreatingVxlan)
skipCreatingVxlan
- New value for the property.public java.lang.String getVxlanSubnet()
public void setVxlanSubnet(java.lang.String vxlanSubnet)
vxlanSubnet
- New value for the property.public java.lang.String getSize()
public void setSize(java.lang.String size)
size
- New value for the property.public java.lang.String getOutpostId()
public void setOutpostId(java.lang.String outpostId)
outpostId
- New value for the property.public java.lang.Long getStorageCapacity()
public void setStorageCapacity(java.lang.Long storageCapacity)
storageCapacity
- New value for the property.public java.lang.String getName()
public void setName(java.lang.String name)
name
- New value for the property.public java.util.List<AccountLinkSddcConfig> getAccountLinkSddcConfig()
public void setAccountLinkSddcConfig(java.util.List<AccountLinkSddcConfig> accountLinkSddcConfig)
accountLinkSddcConfig
- New value for the property.public java.lang.String getHostInstanceType()
public void setHostInstanceType(java.lang.String hostInstanceType)
hostInstanceType
- New value for the property.public java.lang.String getRegion()
public void setRegion(java.lang.String region)
region
- New value for the property.public java.lang.String getSddcId()
public void setSddcId(java.lang.String sddcId)
sddcId
- New value for the property.public java.lang.String getSddcTemplateId()
public void setSddcTemplateId(java.lang.String sddcTemplateId)
sddcTemplateId
- New value for the property.public java.lang.String getSddcType()
public void setSddcType(java.lang.String sddcType)
sddcType
- New value for the property.public java.lang.String getVsanVersion()
public void setVsanVersion(java.lang.String vsanVersion)
vsanVersion
- New value for the property.public java.lang.String getProvider()
"SddcConfig"
.public java.lang.String getSsoDomain()
public void setSsoDomain(java.lang.String ssoDomain)
ssoDomain
- New value for the property.public long getNumHosts()
public void setNumHosts(long numHosts)
numHosts
- New value for the property.public java.lang.String getDeploymentType()
public void setDeploymentType(java.lang.String deploymentType)
deploymentType
- New value for the property.public com.vmware.vapi.bindings.type.StructType _getType()
StaticStructure
StructType
instance representing the static bindings
type for this Structure
._getType
in interface StaticStructure
StructType
public StructValue _getDataValue()
Structure
Structure
represented in the dynamic
DataValue
model.
Attempts to change the returned StructValue
representation are not required to change the state of this structure.
Actually the behavior is implementation dependent and is unspecified.
In general the returned value shouldn't be changed.
_getDataValue
in interface Structure
StructValue
representing this structureprotected void _updateDataValue(StructValue structValue)
public void _validate()
StaticStructure
Structure
.
More precisely, for each union: given value of the discriminant/tag
field (@UnionTag
in the IDL) of an union in this structure,
validates that:
_validate
in interface StaticStructure
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
StaticStructure
In general no code should depend on the format of the resulting string. E.g. there must be no attempts to parse for re-creation of the original instance.
toString
in interface StaticStructure
toString
in class java.lang.Object
public boolean _hasTypeNameOf(java.lang.Class<? extends Structure> clazz)
Structure
This can be used as efficient check to determine if this instance
can be successfully converted
to the target
type.
_hasTypeNameOf
in interface Structure
clazz
- bindings class for the target structure; must not be null
public <T extends Structure> T _convertTo(java.lang.Class<T> clazz)
Structure
_convertTo
in interface Structure
clazz
- type of the result structure. cannot be null.CoreException
is thrown otherwise.public void _setDynamicField(java.lang.String fieldName, DataValue fieldValue)
StaticStructure
_setDynamicField
in interface StaticStructure
fieldName
- canonical name of the dynamic field to setfieldValue
- the value of the fieldpublic DataValue _getDynamicField(java.lang.String fieldName)
StaticStructure
_getDynamicField
in interface StaticStructure
fieldName
- the canonical name of the dynamic fieldDataValue
of the dynamic fieldpublic java.util.Set<java.lang.String> _getDynamicFieldNames()
StaticStructure
_getDynamicFieldNames
in interface StaticStructure
public static com.vmware.vapi.bindings.type.StructType _getClassType()
StructType
instance representing the static bindings
type for this Structure
.public java.lang.String _getCanonicalName()
Structure
org.example.FooBar
would turn into
org.example.foo_bar
._getCanonicalName
in interface Structure
public static java.lang.String _getCanonicalTypeName()
_getCanonicalName()
.public static SddcConfig _newInstance(StructValue structValue)
structValue
- the source of the data contained in the binding object. Could
contain more data than fields of this class can describe i.e.
newer version of the binding object. Could be null.StructType
public static SddcConfig _newInstance2(StructValue structValue)