@Internal public class CPUResource extends Resource<CPUResource>
Constructor and Description |
---|
CPUResource(double value) |
Modifier and Type | Method and Description |
---|---|
CPUResource |
create(BigDecimal value)
Create a new instance of the sub resource.
|
String |
toHumanReadableString() |
public static final String NAME
public CPUResource create(BigDecimal value)
Resource
create
in class Resource<CPUResource>
value
- The value of the resourcepublic String toHumanReadableString()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.