public static final class InstancesTypes.Info.Builder
extends java.lang.Object
InstancesTypes.Info
.Constructor and Description |
---|
Builder(java.lang.String cluster,
InstancesTypes.ConfigStatus configStatus,
java.util.List<InstancesTypes.Message> messages,
InstancesTypes.Stats stats,
java.lang.String description,
java.util.List<InstancesTypes.Access> accessList,
java.util.List<InstancesTypes.StorageSpec> storageSpecs)
Constructor with parameters for the required properties of
InstancesTypes.Info . |
Modifier and Type | Method and Description |
---|---|
InstancesTypes.Info |
build() |
InstancesTypes.Info.Builder |
setNetworks(java.util.List<java.lang.String> networks)
vSphere Networks associated with the namespace.
|
InstancesTypes.Info.Builder |
setResourceSpec(Structure resourceSpec)
Quotas on the namespace resources.
|
public Builder(java.lang.String cluster, InstancesTypes.ConfigStatus configStatus, java.util.List<InstancesTypes.Message> messages, InstancesTypes.Stats stats, java.lang.String description, java.util.List<InstancesTypes.Access> accessList, java.util.List<InstancesTypes.StorageSpec> storageSpecs)
InstancesTypes.Info
.public InstancesTypes.Info.Builder setResourceSpec(Structure resourceSpec)
NamespaceResourceOptions.get(java.lang.String)
for the
type of the value for this field.
If null
, no resource constraints are associated with the namespace.resourceSpec
- New value for the property.public InstancesTypes.Info.Builder setNetworks(java.util.List<java.lang.String> networks)
null
if the cluster hosting this namespace uses
NSXT_CONTAINER_PLUGIN as its network provider.networks
- New value for the property.
When clients pass a value of this class as a parameter, the property must
contain identifiers for the resource type: com.vmware.vcenter.namespaces.Instance
. When methods return a value of this
class as a return value, the property will contain identifiers for the resource
type: com.vmware.vcenter.namespaces.Instance
.public InstancesTypes.Info build()