public static final class InstancesTypes.UpdateSpec.Builder
extends java.lang.Object
InstancesTypes.UpdateSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
InstancesTypes.UpdateSpec . |
Modifier and Type | Method and Description |
---|---|
InstancesTypes.UpdateSpec |
build() |
InstancesTypes.UpdateSpec.Builder |
setAccessList(java.util.List<InstancesTypes.Access> accessList)
Access control associated with the namespace.
|
InstancesTypes.UpdateSpec.Builder |
setDescription(java.lang.String description)
Description for the namespace.
|
InstancesTypes.UpdateSpec.Builder |
setResourceSpec(Structure resourceSpec)
Resource quota updates on the namespace.
|
InstancesTypes.UpdateSpec.Builder |
setStorageSpecs(java.util.List<InstancesTypes.StorageSpec> storageSpecs)
Storage associated with the namespace.
|
public Builder()
InstancesTypes.UpdateSpec
.public InstancesTypes.UpdateSpec.Builder setDescription(java.lang.String description)
null
, the description of the namespace will not be modified.description
- New value for the property.public InstancesTypes.UpdateSpec.Builder setResourceSpec(Structure resourceSpec)
com.vmware.vcenter.namespace_management.NamespaceResourceOptions.Info#updateResourceQuotaType
and use NamespaceResourceOptions.get(java.lang.String)
for
retrieving the type for the value for this field. For an example of this, see
ResourceQuotaOptionsV1Update
.
If null
, the resource constraints on the namespace will not be modified.resourceSpec
- New value for the property.public InstancesTypes.UpdateSpec.Builder setAccessList(java.util.List<InstancesTypes.Access> accessList)
null
, access controls on the namespace will not be modified. Existing
pods from users will continue to run.accessList
- New value for the property.public InstancesTypes.UpdateSpec.Builder setStorageSpecs(java.util.List<InstancesTypes.StorageSpec> storageSpecs)
null
, storage policies and their limit will not be modified. Pods
which are already using persistent storage from the earlier version of storage
policies will be able to access them till the datastores are attached to the
worker nodes.storageSpecs
- New value for the property.public InstancesTypes.UpdateSpec build()