public static final class ResourcePoolTypes.UpdateSpec.Builder
extends java.lang.Object
ResourcePoolTypes.UpdateSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ResourcePoolTypes.UpdateSpec . |
Modifier and Type | Method and Description |
---|---|
ResourcePoolTypes.UpdateSpec |
build() |
ResourcePoolTypes.UpdateSpec.Builder |
setCpuAllocation(ResourcePoolTypes.ResourceAllocationUpdateSpec cpuAllocation)
Resource allocation for CPU.
|
ResourcePoolTypes.UpdateSpec.Builder |
setMemoryAllocation(ResourcePoolTypes.ResourceAllocationUpdateSpec memoryAllocation)
Resource allocation for memory.
|
ResourcePoolTypes.UpdateSpec.Builder |
setName(java.lang.String name)
Name of the resource pool.
|
public Builder()
ResourcePoolTypes.UpdateSpec
.public ResourcePoolTypes.UpdateSpec.Builder setName(java.lang.String name)
null
or empty, the name of the resource pool will not be changed.name
- New value for the property.public ResourcePoolTypes.UpdateSpec.Builder setCpuAllocation(ResourcePoolTypes.ResourceAllocationUpdateSpec cpuAllocation)
null
or empty, the CPU allocation of the resource pool will not be
changed.cpuAllocation
- New value for the property.public ResourcePoolTypes.UpdateSpec.Builder setMemoryAllocation(ResourcePoolTypes.ResourceAllocationUpdateSpec memoryAllocation)
null
or empty, the memory allocation of the resource pool will not be
changed.memoryAllocation
- New value for the property.public ResourcePoolTypes.UpdateSpec build()