public final class ResourceQuotaOptionsV1Update extends java.lang.Object implements java.io.Serializable, StaticStructure
ResourceQuotaOptionsV1Update
class represents the changes to
resource quota limits which are set on the namespace. Refer to <\a>
Kubernetes Resource Quota for information related to the properties of this
object and what they map to.Modifier and Type | Class and Description |
---|---|
static class |
ResourceQuotaOptionsV1Update.Builder
Builder class for
ResourceQuotaOptionsV1Update . |
Modifier and Type | Field and Description |
---|---|
protected StructValue |
__dynamicStructureFields |
Modifier | Constructor and Description |
---|---|
|
ResourceQuotaOptionsV1Update()
Default constructor.
|
protected |
ResourceQuotaOptionsV1Update(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 dynamic filed value.
|
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 ResourceQuotaOptionsV1Update |
_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 ResourceQuotaOptionsV1Update |
_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) |
java.lang.Long |
getConfigMapCount()
This represents the new value for 'configMapCount' option which is the maximum
number of ConfigMaps in the namespace.
|
java.lang.Boolean |
getConfigMapCountUnset()
This represents the intent of the change to
getConfigMapCount() . |
java.lang.Long |
getCpuLimit()
This represents the new value for 'limits.cpu' option which is equivalent to the
maximum CPU limit (in MHz) across all pods in the namespace.
|
java.lang.Long |
getCpuLimitDefault()
This represents the new value for the default CPU limit (in Mhz) for containers
in the pod.
|
java.lang.Boolean |
getCpuLimitDefaultUnset()
This represents the intent of the change to
getCpuLimitDefault() . |
java.lang.Boolean |
getCpuLimitUnset()
This represents the intent of the change to
getCpuLimit() . |
java.lang.Long |
getCpuRequestDefault()
This represents the new value for the default CPU request (in Mhz) for
containers in the pod.
|
java.lang.Boolean |
getCpuRequestDefaultUnset()
This represents the intent of the change to
getCpuRequestDefault() . |
java.lang.Long |
getDaemonSetCount()
This represents the new value for 'daemonSetCount' option which is the maximum
number of DaemonSets in the namespace.
|
java.lang.Boolean |
getDaemonSetCountUnset()
This represents the intent of the change to
getDaemonSetCount() . |
java.lang.Long |
getDeploymentCount()
This represents the new value for 'deploymentCount' option which is the maximum
number of deployments in the namespace.
|
java.lang.Boolean |
getDeploymentCountUnset()
This represents the intent of the change to
getDeploymentCount() . |
java.lang.Long |
getJobCount()
This represents the new value for 'jobCount' option which is the maximum number
of jobs in the namespace.
|
java.lang.Boolean |
getJobCountUnset()
This represents the intent of the change to
getJobCount() . |
java.lang.Long |
getMemoryLimit()
This represents the new value for 'limits.memory' option which is equivalent to
the maximum memory limit (in mebibytes) across all pods in the namespace.
|
java.lang.Long |
getMemoryLimitDefault()
This represents the new value for the default memory limit (in mebibytes) for
containers in the pod.
|
java.lang.Boolean |
getMemoryLimitDefaultUnset()
This represents the intent of the change to
getMemoryLimitDefault() . |
java.lang.Boolean |
getMemoryLimitUnset()
This represents the intent of the change to
getMemoryLimit() . |
java.lang.Long |
getMemoryRequestDefault()
This represents the new value for the default memory request (in mebibytes) for
containers in the pod.
|
java.lang.Boolean |
getMemoryRequestDefaultUnset()
This represents the intent of the change to
getMemoryRequestDefault() . |
java.lang.Long |
getPersistentVolumeClaimCount()
This represents the new value for 'persistentVolumeClaimCount' option which is
the maximum number of PersistentVolumeClaims in the namespace.
|
java.lang.Boolean |
getPersistentVolumeClaimCountUnset()
This represents the intent of the change to
getPersistentVolumeClaimCount() . |
java.lang.Long |
getPodCount()
This represents the new value for 'podCount' option which is the maximum number
of pods in the namespace.
|
java.lang.Boolean |
getPodCountUnset()
This represents the intent of the change to
getPodCount() . |
java.lang.Long |
getReplicaSetCount()
This represents the new value for 'replicaSetCount' option which is the maximum
number of ReplicaSets in the namespace.
|
java.lang.Boolean |
getReplicaSetCountUnset()
This represents the intent of the change to
getReplicaSetCount() . |
java.lang.Long |
getReplicationControllerCount()
This represents the new value for 'replicationControllerCount' option which is
the maximum number of ReplicationControllers in the namespace.
|
java.lang.Boolean |
getReplicationControllerCountUnset()
This represents the intent of the change to
getReplicationControllerCount() . |
java.lang.Long |
getSecretCount()
This represents the new value for 'secretCount' option which is the maximum
number of secrets in the namespace.
|
java.lang.Boolean |
getSecretCountUnset()
This represents the intent of the change to
getSecretCount() . |
java.lang.Long |
getServiceCount()
This represents the new value for 'serviceCount' option which is the maximum
number of services in the namespace.
|
java.lang.Boolean |
getServiceCountUnset()
This represents the intent of the change to
getServiceCount() . |
java.lang.Long |
getStatefulSetCount()
This represents the new value for 'statefulSetCount' option which is the maximum
number of StatefulSets in the namespace.
|
java.lang.Boolean |
getStatefulSetCountUnset()
This represents the intent of the change to
getStatefulSetCount() . |
java.lang.Long |
getStorageRequestLimit()
This represents the new value for 'requests.storage' which is the limit on
storage requests (in mebibytes) across all persistent volume claims from pods in
the namespace.
|
java.lang.Boolean |
getStorageRequestLimitUnset()
This represents the intent of the change to
getStorageRequestLimit() . |
int |
hashCode() |
void |
setConfigMapCount(java.lang.Long configMapCount)
This represents the new value for 'configMapCount' option which is the maximum
number of ConfigMaps in the namespace.
|
void |
setConfigMapCountUnset(java.lang.Boolean configMapCountUnset)
This represents the intent of the change to
getConfigMapCount() . |
void |
setCpuLimit(java.lang.Long cpuLimit)
This represents the new value for 'limits.cpu' option which is equivalent to the
maximum CPU limit (in MHz) across all pods in the namespace.
|
void |
setCpuLimitDefault(java.lang.Long cpuLimitDefault)
This represents the new value for the default CPU limit (in Mhz) for containers
in the pod.
|
void |
setCpuLimitDefaultUnset(java.lang.Boolean cpuLimitDefaultUnset)
This represents the intent of the change to
getCpuLimitDefault() . |
void |
setCpuLimitUnset(java.lang.Boolean cpuLimitUnset)
This represents the intent of the change to
getCpuLimit() . |
void |
setCpuRequestDefault(java.lang.Long cpuRequestDefault)
This represents the new value for the default CPU request (in Mhz) for
containers in the pod.
|
void |
setCpuRequestDefaultUnset(java.lang.Boolean cpuRequestDefaultUnset)
This represents the intent of the change to
getCpuRequestDefault() . |
void |
setDaemonSetCount(java.lang.Long daemonSetCount)
This represents the new value for 'daemonSetCount' option which is the maximum
number of DaemonSets in the namespace.
|
void |
setDaemonSetCountUnset(java.lang.Boolean daemonSetCountUnset)
This represents the intent of the change to
getDaemonSetCount() . |
void |
setDeploymentCount(java.lang.Long deploymentCount)
This represents the new value for 'deploymentCount' option which is the maximum
number of deployments in the namespace.
|
void |
setDeploymentCountUnset(java.lang.Boolean deploymentCountUnset)
This represents the intent of the change to
getDeploymentCount() . |
void |
setJobCount(java.lang.Long jobCount)
This represents the new value for 'jobCount' option which is the maximum number
of jobs in the namespace.
|
void |
setJobCountUnset(java.lang.Boolean jobCountUnset)
This represents the intent of the change to
getJobCount() . |
void |
setMemoryLimit(java.lang.Long memoryLimit)
This represents the new value for 'limits.memory' option which is equivalent to
the maximum memory limit (in mebibytes) across all pods in the namespace.
|
void |
setMemoryLimitDefault(java.lang.Long memoryLimitDefault)
This represents the new value for the default memory limit (in mebibytes) for
containers in the pod.
|
void |
setMemoryLimitDefaultUnset(java.lang.Boolean memoryLimitDefaultUnset)
This represents the intent of the change to
getMemoryLimitDefault() . |
void |
setMemoryLimitUnset(java.lang.Boolean memoryLimitUnset)
This represents the intent of the change to
getMemoryLimit() . |
void |
setMemoryRequestDefault(java.lang.Long memoryRequestDefault)
This represents the new value for the default memory request (in mebibytes) for
containers in the pod.
|
void |
setMemoryRequestDefaultUnset(java.lang.Boolean memoryRequestDefaultUnset)
This represents the intent of the change to
getMemoryRequestDefault() . |
void |
setPersistentVolumeClaimCount(java.lang.Long persistentVolumeClaimCount)
This represents the new value for 'persistentVolumeClaimCount' option which is
the maximum number of PersistentVolumeClaims in the namespace.
|
void |
setPersistentVolumeClaimCountUnset(java.lang.Boolean persistentVolumeClaimCountUnset)
This represents the intent of the change to
getPersistentVolumeClaimCount() . |
void |
setPodCount(java.lang.Long podCount)
This represents the new value for 'podCount' option which is the maximum number
of pods in the namespace.
|
void |
setPodCountUnset(java.lang.Boolean podCountUnset)
This represents the intent of the change to
getPodCount() . |
void |
setReplicaSetCount(java.lang.Long replicaSetCount)
This represents the new value for 'replicaSetCount' option which is the maximum
number of ReplicaSets in the namespace.
|
void |
setReplicaSetCountUnset(java.lang.Boolean replicaSetCountUnset)
This represents the intent of the change to
getReplicaSetCount() . |
void |
setReplicationControllerCount(java.lang.Long replicationControllerCount)
This represents the new value for 'replicationControllerCount' option which is
the maximum number of ReplicationControllers in the namespace.
|
void |
setReplicationControllerCountUnset(java.lang.Boolean replicationControllerCountUnset)
This represents the intent of the change to
getReplicationControllerCount() . |
void |
setSecretCount(java.lang.Long secretCount)
This represents the new value for 'secretCount' option which is the maximum
number of secrets in the namespace.
|
void |
setSecretCountUnset(java.lang.Boolean secretCountUnset)
This represents the intent of the change to
getSecretCount() . |
void |
setServiceCount(java.lang.Long serviceCount)
This represents the new value for 'serviceCount' option which is the maximum
number of services in the namespace.
|
void |
setServiceCountUnset(java.lang.Boolean serviceCountUnset)
This represents the intent of the change to
getServiceCount() . |
void |
setStatefulSetCount(java.lang.Long statefulSetCount)
This represents the new value for 'statefulSetCount' option which is the maximum
number of StatefulSets in the namespace.
|
void |
setStatefulSetCountUnset(java.lang.Boolean statefulSetCountUnset)
This represents the intent of the change to
getStatefulSetCount() . |
void |
setStorageRequestLimit(java.lang.Long storageRequestLimit)
This represents the new value for 'requests.storage' which is the limit on
storage requests (in mebibytes) across all persistent volume claims from pods in
the namespace.
|
void |
setStorageRequestLimitUnset(java.lang.Boolean storageRequestLimitUnset)
This represents the intent of the change to
getStorageRequestLimit() . |
java.lang.String |
toString()
Returns a string representation of this structure.
|
protected StructValue __dynamicStructureFields
public ResourceQuotaOptionsV1Update()
protected ResourceQuotaOptionsV1Update(StructValue __dynamicStructureFields)
public java.lang.Long getMemoryLimit()
getMemoryLimitUnset()
is set to true
.
If null
, the existing memory limit on the ResourcePool will be unchanged
if getMemoryLimitUnset()
is null
or set to false
.public void setMemoryLimit(java.lang.Long memoryLimit)
getMemoryLimitUnset()
is set to true
.
If null
, the existing memory limit on the ResourcePool will be unchanged
if getMemoryLimitUnset()
is null
or set to false
.memoryLimit
- New value for the property.public java.lang.Boolean getMemoryLimitUnset()
getMemoryLimit()
. If
this field is set to true
, the existing memory limit on the ResourcePool
is removed. If this field is set to false
, the existing memory limit
will be changed to the value specified in getMemoryLimit()
, if
any.
If null
, the existing memory limit will be changed to the value
specified in getMemoryLimit()
, if
any.public void setMemoryLimitUnset(java.lang.Boolean memoryLimitUnset)
getMemoryLimit()
. If
this field is set to true
, the existing memory limit on the ResourcePool
is removed. If this field is set to false
, the existing memory limit
will be changed to the value specified in getMemoryLimit()
, if
any.
If null
, the existing memory limit will be changed to the value
specified in getMemoryLimit()
, if
any.memoryLimitUnset
- New value for the property.public java.lang.Long getMemoryLimitDefault()
getMemoryLimitDefaultUnset()
is set to true
.
If null
, the existing memory limit will be unchanged if getMemoryLimitDefaultUnset()
is null
or set to false
.public void setMemoryLimitDefault(java.lang.Long memoryLimitDefault)
getMemoryLimitDefaultUnset()
is set to true
.
If null
, the existing memory limit will be unchanged if getMemoryLimitDefaultUnset()
is null
or set to false
.memoryLimitDefault
- New value for the property.public java.lang.Boolean getMemoryLimitDefaultUnset()
getMemoryLimitDefault()
.
If this field is set to true
, the existing default memory limit on
containers in the pod is removed. If this field is set to false
, the
existing default memory limit will be changed to the value specified in getMemoryLimitDefault()
,
if any.
If null
, the existing default memory limit will be changed to the value
specified in getMemoryLimitDefault()
,
if any.public void setMemoryLimitDefaultUnset(java.lang.Boolean memoryLimitDefaultUnset)
getMemoryLimitDefault()
.
If this field is set to true
, the existing default memory limit on
containers in the pod is removed. If this field is set to false
, the
existing default memory limit will be changed to the value specified in getMemoryLimitDefault()
,
if any.
If null
, the existing default memory limit will be changed to the value
specified in getMemoryLimitDefault()
,
if any.memoryLimitDefaultUnset
- New value for the property.public java.lang.Long getMemoryRequestDefault()
getMemoryRequestDefaultUnset()
is set to true
.
If null
, the existing memory request will be unchanged if getMemoryRequestDefaultUnset()
is null
or set to false
.public void setMemoryRequestDefault(java.lang.Long memoryRequestDefault)
getMemoryRequestDefaultUnset()
is set to true
.
If null
, the existing memory request will be unchanged if getMemoryRequestDefaultUnset()
is null
or set to false
.memoryRequestDefault
- New value for the property.public java.lang.Boolean getMemoryRequestDefaultUnset()
getMemoryRequestDefault()
.
If this field is set to true
, the existing default memory request on
containers in the pod will be removed. If this field is set to false
,
the existing default memory request will be changed to the value specified in
getMemoryRequestDefault()
,
if any.
If null
, the existing default memory request will be changed to the
value specified in getMemoryRequestDefault()
,
if any.public void setMemoryRequestDefaultUnset(java.lang.Boolean memoryRequestDefaultUnset)
getMemoryRequestDefault()
.
If this field is set to true
, the existing default memory request on
containers in the pod will be removed. If this field is set to false
,
the existing default memory request will be changed to the value specified in
getMemoryRequestDefault()
,
if any.
If null
, the existing default memory request will be changed to the
value specified in getMemoryRequestDefault()
,
if any.memoryRequestDefaultUnset
- New value for the property.public java.lang.Long getCpuLimit()
getCpuLimitUnset()
is
set to true
. If specified, this limit should be at least 10 MHz.
If null
, the existing CPU limit on the ResourcePool will be unchanged if
getCpuLimitUnset()
is
null
or set to false
.public void setCpuLimit(java.lang.Long cpuLimit)
getCpuLimitUnset()
is
set to true
. If specified, this limit should be at least 10 MHz.
If null
, the existing CPU limit on the ResourcePool will be unchanged if
getCpuLimitUnset()
is
null
or set to false
.cpuLimit
- New value for the property.public java.lang.Boolean getCpuLimitUnset()
getCpuLimit()
. If this
field is set to true
, the existing CPU limit on the ResourcePool is
removed. If this field is set to false
, the existing CPU limit will be
changed to the value specified in getCpuLimit()
, if any.
If null
, the existing CPU limit will be changed to the value specified
in getMemoryLimit()
, if
any.public void setCpuLimitUnset(java.lang.Boolean cpuLimitUnset)
getCpuLimit()
. If this
field is set to true
, the existing CPU limit on the ResourcePool is
removed. If this field is set to false
, the existing CPU limit will be
changed to the value specified in getCpuLimit()
, if any.
If null
, the existing CPU limit will be changed to the value specified
in getMemoryLimit()
, if
any.cpuLimitUnset
- New value for the property.public java.lang.Long getCpuLimitDefault()
getCpuLimitDefaultUnset()
is set to true
. If specified, this limit should be at least 10 MHz.
If null
, the existing default CPU limit will be unchanged if getCpuLimitDefaultUnset()
is null
or set to false
.public void setCpuLimitDefault(java.lang.Long cpuLimitDefault)
getCpuLimitDefaultUnset()
is set to true
. If specified, this limit should be at least 10 MHz.
If null
, the existing default CPU limit will be unchanged if getCpuLimitDefaultUnset()
is null
or set to false
.cpuLimitDefault
- New value for the property.public java.lang.Boolean getCpuLimitDefaultUnset()
getCpuLimitDefault()
.
If this field is set to true
, the existing default CPU limit on
containers in the pod is removed. If this field is set to false
, the
existing default CPU limit will be changed to the value specified in getCpuLimitDefault()
,
if any.
If null
, the existing default CPU limit will be changed to the value
specified in getCpuLimitDefault()
,
if any.public void setCpuLimitDefaultUnset(java.lang.Boolean cpuLimitDefaultUnset)
getCpuLimitDefault()
.
If this field is set to true
, the existing default CPU limit on
containers in the pod is removed. If this field is set to false
, the
existing default CPU limit will be changed to the value specified in getCpuLimitDefault()
,
if any.
If null
, the existing default CPU limit will be changed to the value
specified in getCpuLimitDefault()
,
if any.cpuLimitDefaultUnset
- New value for the property.public java.lang.Long getCpuRequestDefault()
getCpuRequestDefaultUnset()
is set to true
. If specified, this field should be at least 10 MHz.
If null
, the existing default CPU request will be unchanged if getCpuRequestDefaultUnset()
is null
or set to false
.public void setCpuRequestDefault(java.lang.Long cpuRequestDefault)
getCpuRequestDefaultUnset()
is set to true
. If specified, this field should be at least 10 MHz.
If null
, the existing default CPU request will be unchanged if getCpuRequestDefaultUnset()
is null
or set to false
.cpuRequestDefault
- New value for the property.public java.lang.Boolean getCpuRequestDefaultUnset()
getCpuRequestDefault()
.
If this field is set to true
, the existing default CPU request on
containers in the pod is removed. If this field is set to false
, the
existing default CPU request will be changed to the value specified in getCpuRequestDefault()
,
if any.
If null
, the existing default CPU request will be changed to the value
specified in getCpuRequestDefault()
,
if any.public void setCpuRequestDefaultUnset(java.lang.Boolean cpuRequestDefaultUnset)
getCpuRequestDefault()
.
If this field is set to true
, the existing default CPU request on
containers in the pod is removed. If this field is set to false
, the
existing default CPU request will be changed to the value specified in getCpuRequestDefault()
,
if any.
If null
, the existing default CPU request will be changed to the value
specified in getCpuRequestDefault()
,
if any.cpuRequestDefaultUnset
- New value for the property.public java.lang.Long getStorageRequestLimit()
getStorageRequestLimitUnset()
is set to true
.
If null
, the existing storage request limit will be unchanged if getStorageRequestLimitUnset()
is null
or set to false
. the namespace.public void setStorageRequestLimit(java.lang.Long storageRequestLimit)
getStorageRequestLimitUnset()
is set to true
.
If null
, the existing storage request limit will be unchanged if getStorageRequestLimitUnset()
is null
or set to false
. the namespace.storageRequestLimit
- New value for the property.public java.lang.Boolean getStorageRequestLimitUnset()
getStorageRequestLimit()
.
If this field is set to true
, the existing storage request limit will be
reset. If this field is set to false
, the existing storage request limit
will be changed to the value specified in getStorageRequestLimit()
,
if any.
If null
, the existing storage request limit will be changed to the value
specified in getStorageRequestLimit()
,
if any.public void setStorageRequestLimitUnset(java.lang.Boolean storageRequestLimitUnset)
getStorageRequestLimit()
.
If this field is set to true
, the existing storage request limit will be
reset. If this field is set to false
, the existing storage request limit
will be changed to the value specified in getStorageRequestLimit()
,
if any.
If null
, the existing storage request limit will be changed to the value
specified in getStorageRequestLimit()
,
if any.storageRequestLimitUnset
- New value for the property.public java.lang.Long getPodCount()
getPodCountUnset()
is
set to true
.
If null
, the existing 'podCount' limit will be unchanged if getPodCountUnset()
is
null
or set to false
.public void setPodCount(java.lang.Long podCount)
getPodCountUnset()
is
set to true
.
If null
, the existing 'podCount' limit will be unchanged if getPodCountUnset()
is
null
or set to false
.podCount
- New value for the property.public java.lang.Boolean getPodCountUnset()
getPodCount()
. If this
field is set to true
, the existing 'podCount' limit on the namespace
will be reset. If this field is set to false
, the existing CPU limit
will be changed to the value specified in getPodCount()
, if any.
If null
, the existing 'podCount' limit will be changed to the value
specified in getPodCount()
, if any.public void setPodCountUnset(java.lang.Boolean podCountUnset)
getPodCount()
. If this
field is set to true
, the existing 'podCount' limit on the namespace
will be reset. If this field is set to false
, the existing CPU limit
will be changed to the value specified in getPodCount()
, if any.
If null
, the existing 'podCount' limit will be changed to the value
specified in getPodCount()
, if any.podCountUnset
- New value for the property.public java.lang.Long getServiceCount()
getServiceCountUnset()
is set to true
.
If null
, the existing 'serviceCount' limit will be unchanged if getServiceCountUnset()
is null
or set to false
.public void setServiceCount(java.lang.Long serviceCount)
getServiceCountUnset()
is set to true
.
If null
, the existing 'serviceCount' limit will be unchanged if getServiceCountUnset()
is null
or set to false
.serviceCount
- New value for the property.public java.lang.Boolean getServiceCountUnset()
getServiceCount()
. If
this field is set to true
, the existing 'serviceCount' limit on the
namespace will be reset. If this field is set to false
, the existing
service count limit will be changed to the value specified in getServiceCount()
, if
any.
If null
, the existing 'serviceCount' limit will be changed to the value
specified in getServiceCount()
, if
any.public void setServiceCountUnset(java.lang.Boolean serviceCountUnset)
getServiceCount()
. If
this field is set to true
, the existing 'serviceCount' limit on the
namespace will be reset. If this field is set to false
, the existing
service count limit will be changed to the value specified in getServiceCount()
, if
any.
If null
, the existing 'serviceCount' limit will be changed to the value
specified in getServiceCount()
, if
any.serviceCountUnset
- New value for the property.public java.lang.Long getDeploymentCount()
getDeploymentCountUnset()
is set to true
.
If null
, the existing 'deploymentCount' limit will be unchanged if
getDeploymentCountUnset()
is null
or set to false
.public void setDeploymentCount(java.lang.Long deploymentCount)
getDeploymentCountUnset()
is set to true
.
If null
, the existing 'deploymentCount' limit will be unchanged if
getDeploymentCountUnset()
is null
or set to false
.deploymentCount
- New value for the property.public java.lang.Boolean getDeploymentCountUnset()
getDeploymentCount()
.
If this field is set to true
, the existing 'deploymentCount' limit on
the namespace will be reset. If this field is set to false
, the existing
deployment count limit will be changed to the value specified in getDeploymentCount()
,
if any.
If null
, the existing 'deploymentCount' limit will be changed to the
value specified in getDeploymentCount()
,
if any.public void setDeploymentCountUnset(java.lang.Boolean deploymentCountUnset)
getDeploymentCount()
.
If this field is set to true
, the existing 'deploymentCount' limit on
the namespace will be reset. If this field is set to false
, the existing
deployment count limit will be changed to the value specified in getDeploymentCount()
,
if any.
If null
, the existing 'deploymentCount' limit will be changed to the
value specified in getDeploymentCount()
,
if any.deploymentCountUnset
- New value for the property.public java.lang.Long getDaemonSetCount()
getDaemonSetCountUnset()
is set to true
.
If null
, the existing 'daemonSetCount' limit will be unchanged if getDaemonSetCountUnset()
is null
or set to false
.public void setDaemonSetCount(java.lang.Long daemonSetCount)
getDaemonSetCountUnset()
is set to true
.
If null
, the existing 'daemonSetCount' limit will be unchanged if getDaemonSetCountUnset()
is null
or set to false
.daemonSetCount
- New value for the property.public java.lang.Boolean getDaemonSetCountUnset()
getDaemonSetCount()
.
If this field is set to true
, the existing 'daemonSetCount' limit on the
namespace will be reset. If this field is set to false
, the existing
daemonset count limit will be changed to the value specified in getDaemonSetCount()
,
if any.
If null
, the existing 'daemonSetCount' limit will be changed to the
value specified in getDaemonSetCount()
,
if any.public void setDaemonSetCountUnset(java.lang.Boolean daemonSetCountUnset)
getDaemonSetCount()
.
If this field is set to true
, the existing 'daemonSetCount' limit on the
namespace will be reset. If this field is set to false
, the existing
daemonset count limit will be changed to the value specified in getDaemonSetCount()
,
if any.
If null
, the existing 'daemonSetCount' limit will be changed to the
value specified in getDaemonSetCount()
,
if any.daemonSetCountUnset
- New value for the property.public java.lang.Long getReplicaSetCount()
getReplicaSetCountUnset()
is set to true
.
If null
, the existing 'replicaSetCount' limit will be unchanged if
getReplicaSetCountUnset()
is null
or set to false
.public void setReplicaSetCount(java.lang.Long replicaSetCount)
getReplicaSetCountUnset()
is set to true
.
If null
, the existing 'replicaSetCount' limit will be unchanged if
getReplicaSetCountUnset()
is null
or set to false
.replicaSetCount
- New value for the property.public java.lang.Boolean getReplicaSetCountUnset()
getReplicaSetCount()
.
If this field is set to true
, the existing 'replicaSetCount' limit on
the namespace will be reset. If this field is set to false
, the existing
replicaset count limit will be changed to the value specified in getReplicaSetCount()
,
if any.
If null
, the existing 'replicaSetCount' limit will be changed to the
value specified in getReplicaSetCount()
,
if any.public void setReplicaSetCountUnset(java.lang.Boolean replicaSetCountUnset)
getReplicaSetCount()
.
If this field is set to true
, the existing 'replicaSetCount' limit on
the namespace will be reset. If this field is set to false
, the existing
replicaset count limit will be changed to the value specified in getReplicaSetCount()
,
if any.
If null
, the existing 'replicaSetCount' limit will be changed to the
value specified in getReplicaSetCount()
,
if any.replicaSetCountUnset
- New value for the property.public java.lang.Long getReplicationControllerCount()
getReplicationControllerCountUnset()
is set to true
.
If null
, the existing 'replicationControllerCount' limit will be
unchanged if getReplicationControllerCountUnset()
is null
or set to false
.public void setReplicationControllerCount(java.lang.Long replicationControllerCount)
getReplicationControllerCountUnset()
is set to true
.
If null
, the existing 'replicationControllerCount' limit will be
unchanged if getReplicationControllerCountUnset()
is null
or set to false
.replicationControllerCount
- New value for the property.public java.lang.Boolean getReplicationControllerCountUnset()
getReplicationControllerCount()
.
If this field is set to true
, the existing 'replicationControllerCount'
limit on the namespace will be reset. If this field is set to false
, the
existing replicationcontroller count limit will be changed to the value
specified in getReplicationControllerCount()
,
if any.
If null
, the existing 'replicationControllerCount' limit will be changed
to the value specified in getReplicationControllerCount()
,
if any.public void setReplicationControllerCountUnset(java.lang.Boolean replicationControllerCountUnset)
getReplicationControllerCount()
.
If this field is set to true
, the existing 'replicationControllerCount'
limit on the namespace will be reset. If this field is set to false
, the
existing replicationcontroller count limit will be changed to the value
specified in getReplicationControllerCount()
,
if any.
If null
, the existing 'replicationControllerCount' limit will be changed
to the value specified in getReplicationControllerCount()
,
if any.replicationControllerCountUnset
- New value for the property.public java.lang.Long getStatefulSetCount()
getStatefulSetCountUnset()
is set to true
.
If null
, the existing 'statefulSetCount' limit will be unchanged if
getStatefulSetCountUnset()
is null
or set to false
.public void setStatefulSetCount(java.lang.Long statefulSetCount)
getStatefulSetCountUnset()
is set to true
.
If null
, the existing 'statefulSetCount' limit will be unchanged if
getStatefulSetCountUnset()
is null
or set to false
.statefulSetCount
- New value for the property.public java.lang.Boolean getStatefulSetCountUnset()
getStatefulSetCount()
.
If this field is set to true
, the existing 'statefulSetCount' limit on
the namespace will be reset. If this field is set to false
, the existing
statefulset count limit will be changed to the value specified in getStatefulSetCount()
,
if any.
If null
, the existing 'statefulSetCount' limit will be changed to the
value specified in getStatefulSetCount()
,
if any.public void setStatefulSetCountUnset(java.lang.Boolean statefulSetCountUnset)
getStatefulSetCount()
.
If this field is set to true
, the existing 'statefulSetCount' limit on
the namespace will be reset. If this field is set to false
, the existing
statefulset count limit will be changed to the value specified in getStatefulSetCount()
,
if any.
If null
, the existing 'statefulSetCount' limit will be changed to the
value specified in getStatefulSetCount()
,
if any.statefulSetCountUnset
- New value for the property.public java.lang.Long getConfigMapCount()
getConfigMapCountUnset()
is set to true
.
If null
, the existing 'configMapCount' limit will be unchanged if getConfigMapCountUnset()
is null
or set to false
.public void setConfigMapCount(java.lang.Long configMapCount)
getConfigMapCountUnset()
is set to true
.
If null
, the existing 'configMapCount' limit will be unchanged if getConfigMapCountUnset()
is null
or set to false
.configMapCount
- New value for the property.public java.lang.Boolean getConfigMapCountUnset()
getConfigMapCount()
.
If this field is set to true
, the existing 'configMapCount' limit on the
namespace will be reset. If this field is set to false
, the existing
configmap count limit will be changed to the value specified in getConfigMapCount()
,
if any.
If null
, the existing 'configMapCount' limit will be changed to the
value specified in getConfigMapCount()
,
if any.public void setConfigMapCountUnset(java.lang.Boolean configMapCountUnset)
getConfigMapCount()
.
If this field is set to true
, the existing 'configMapCount' limit on the
namespace will be reset. If this field is set to false
, the existing
configmap count limit will be changed to the value specified in getConfigMapCount()
,
if any.
If null
, the existing 'configMapCount' limit will be changed to the
value specified in getConfigMapCount()
,
if any.configMapCountUnset
- New value for the property.public java.lang.Long getSecretCount()
getSecretCountUnset()
is set to true
.
If null
, the existing 'secretCount' limit will be unchanged if getSecretCountUnset()
is null
or set to false
.public void setSecretCount(java.lang.Long secretCount)
getSecretCountUnset()
is set to true
.
If null
, the existing 'secretCount' limit will be unchanged if getSecretCountUnset()
is null
or set to false
.secretCount
- New value for the property.public java.lang.Boolean getSecretCountUnset()
getSecretCount()
. If
this field is set to true
, the existing 'secretCount' limit on the
namespace will be reset. If this field is set to false
, the existing
secret count limit will be changed to the value specified in getSecretCount()
, if
any.
If null
, the existing 'secretCount' limit will be changed to the value
specified in getSecretCount()
, if
any.public void setSecretCountUnset(java.lang.Boolean secretCountUnset)
getSecretCount()
. If
this field is set to true
, the existing 'secretCount' limit on the
namespace will be reset. If this field is set to false
, the existing
secret count limit will be changed to the value specified in getSecretCount()
, if
any.
If null
, the existing 'secretCount' limit will be changed to the value
specified in getSecretCount()
, if
any.secretCountUnset
- New value for the property.public java.lang.Long getPersistentVolumeClaimCount()
getPersistentVolumeClaimCountUnset()
is set to true
.
If null
, the existing 'persistentVolumeClaimCount' limit will be
unchanged if getPersistentVolumeClaimCountUnset()
is null
or set to false
.public void setPersistentVolumeClaimCount(java.lang.Long persistentVolumeClaimCount)
getPersistentVolumeClaimCountUnset()
is set to true
.
If null
, the existing 'persistentVolumeClaimCount' limit will be
unchanged if getPersistentVolumeClaimCountUnset()
is null
or set to false
.persistentVolumeClaimCount
- New value for the property.public java.lang.Boolean getPersistentVolumeClaimCountUnset()
getPersistentVolumeClaimCount()
.
If this field is set to true
, the existing 'persistentVolumeClaimCount'
limit on the namespace will be reset. If this field is set to false
, the
existing replicationcontroller count limit will be changed to the value
specified in getPersistentVolumeClaimCount()
,
if any.
If null
, the existing 'persistentVolumeClaimCount' limit will be changed
to the value specified in getPersistentVolumeClaimCount()
,
if any.public void setPersistentVolumeClaimCountUnset(java.lang.Boolean persistentVolumeClaimCountUnset)
getPersistentVolumeClaimCount()
.
If this field is set to true
, the existing 'persistentVolumeClaimCount'
limit on the namespace will be reset. If this field is set to false
, the
existing replicationcontroller count limit will be changed to the value
specified in getPersistentVolumeClaimCount()
,
if any.
If null
, the existing 'persistentVolumeClaimCount' limit will be changed
to the value specified in getPersistentVolumeClaimCount()
,
if any.persistentVolumeClaimCountUnset
- New value for the property.public java.lang.Long getJobCount()
getJobCountUnset()
is
set to true
.
If null
, the existing 'jobCount' limit will be unchanged if getJobCountUnset()
is
null
or set to false
.public void setJobCount(java.lang.Long jobCount)
getJobCountUnset()
is
set to true
.
If null
, the existing 'jobCount' limit will be unchanged if getJobCountUnset()
is
null
or set to false
.jobCount
- New value for the property.public java.lang.Boolean getJobCountUnset()
getJobCount()
. If this
field is set to true
, the existing 'jobCount' limit on the namespace
will be reset. If this field is set to false
, the existing secret count
limit will be changed to the value specified in getJobCount()
, if any.
If null
, the existing 'jobCount' limit will be changed to the value
specified in getJobCount()
, if any.public void setJobCountUnset(java.lang.Boolean jobCountUnset)
getJobCount()
. If this
field is set to true
, the existing 'jobCount' limit on the namespace
will be reset. If this field is set to false
, the existing secret count
limit will be changed to the value specified in getJobCount()
, if any.
If null
, the existing 'jobCount' limit will be changed to the value
specified in getJobCount()
, if any.jobCountUnset
- 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 ResourceQuotaOptionsV1Update _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 ResourceQuotaOptionsV1Update _newInstance2(StructValue structValue)