public static final class ResourcePoolTypes.Info.Builder
extends java.lang.Object
ResourcePoolTypes.Info
.Constructor and Description |
---|
Builder(java.lang.String name,
java.util.Set<java.lang.String> resourcePools)
Constructor with parameters for the required properties of
ResourcePoolTypes.Info . |
Modifier and Type | Method and Description |
---|---|
ResourcePoolTypes.Info |
build() |
ResourcePoolTypes.Info.Builder |
setCpuAllocation(ResourcePoolTypes.ResourceAllocationInfo cpuAllocation)
Resource allocation information for CPU.
|
ResourcePoolTypes.Info.Builder |
setMemoryAllocation(ResourcePoolTypes.ResourceAllocationInfo memoryAllocation)
Resource allocation information for memory.
|
public Builder(java.lang.String name, java.util.Set<java.lang.String> resourcePools)
ResourcePoolTypes.Info
.public ResourcePoolTypes.Info.Builder setCpuAllocation(ResourcePoolTypes.ResourceAllocationInfo cpuAllocation)
cpuAllocation
- New value for the property.public ResourcePoolTypes.Info.Builder setMemoryAllocation(ResourcePoolTypes.ResourceAllocationInfo memoryAllocation)
memoryAllocation
- New value for the property.public ResourcePoolTypes.Info build()