public static final class InstancesTypes.SetSpec.Builder
extends java.lang.Object
InstancesTypes.SetSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
InstancesTypes.SetSpec . |
Modifier and Type | Method and Description |
---|---|
InstancesTypes.SetSpec |
build() |
InstancesTypes.SetSpec.Builder |
setAccessList(java.util.List<InstancesTypes.Access> accessList)
Access control associated with the namespace.
|
InstancesTypes.SetSpec.Builder |
setDescription(java.lang.String description)
Description for the namespace.
|
InstancesTypes.SetSpec.Builder |
setResourceSpec(Structure resourceSpec)
Resource quota for the namespace.
|
InstancesTypes.SetSpec.Builder |
setStorageSpecs(java.util.List<InstancesTypes.StorageSpec> storageSpecs)
Storage associated with the namespace.
|
public Builder()
InstancesTypes.SetSpec
.public InstancesTypes.SetSpec.Builder setDescription(java.lang.String description)
null
, the description of the namespace will be cleared.description
- New value for the property.public InstancesTypes.SetSpec.Builder setResourceSpec(Structure resourceSpec)
com.vmware.vcenter.namespace_management.NamespaceResourceOptions.Info#createResourceQuotaType
and use NamespaceResourceOptions.get(java.lang.String)
for
retrieving the type for the value for this field. For an example of this, see
ResourceQuotaOptionsV1
.
If null
, the resource constraints on the namespace will be cleared.resourceSpec
- New value for the property.public InstancesTypes.SetSpec.Builder setAccessList(java.util.List<InstancesTypes.Access> accessList)
null
, the existing access controls on the namespace will be removed
and users will not be able to access this namespace to create new pods. Existing
pods from users will continue to run.accessList
- New value for the property.public InstancesTypes.SetSpec.Builder setStorageSpecs(java.util.List<InstancesTypes.StorageSpec> storageSpecs)
null
, the existing storage policies will be disassociated with the
namespace and existing limits will be cleared. 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.SetSpec build()