Builder

class Builder

Properties

Link copied to clipboard

When the doubleValue type is set, the value of the resource must be a double precision floating-point type.

Link copied to clipboard

When the integerValue type is set, the value of the resource must be an integer.

Link copied to clipboard

When the longValue type is set, the value of the resource must be an extended precision floating-point type.

Link copied to clipboard
var name: String?

The name of the resource, such as CPU, MEMORY, PORTS, PORTS_UDP, or a user-defined resource.

Link copied to clipboard

When the stringSetValue type is set, the value of the resource must be a string type.

Link copied to clipboard
var type: String?

The type of the resource. Valid values: INTEGER, DOUBLE, LONG, or STRINGSET.