#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for Resource
Implementations
The name of the resource, such as CPU, MEMORY, PORTS, PORTS_UDP, or a user-defined resource.
The name of the resource, such as CPU, MEMORY, PORTS, PORTS_UDP, or a user-defined resource.
The type of the resource. Valid values: INTEGER, DOUBLE, LONG, or STRINGSET.
The type of the resource. Valid values: INTEGER, DOUBLE, LONG, or STRINGSET.
When the doubleValue type is set, the value of the resource must be a double precision floating-point type.
When the doubleValue type is set, the value of the resource must be a double precision floating-point type.
When the longValue type is set, the value of the resource must be an extended precision floating-point type.
When the longValue type is set, the value of the resource must be an extended precision floating-point type.
When the integerValue type is set, the value of the resource must be an integer.
When the integerValue type is set, the value of the resource must be an integer.
Appends an item to string_set_value.
To override the contents of this collection use set_string_set_value.
When the stringSetValue type is set, the value of the resource must be a string type.
When the stringSetValue type is set, the value of the resource must be a string type.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more