NamedResourcesAttribute

io.k8s.api.resource.v1alpha2.NamedResourcesAttribute
See theNamedResourcesAttribute companion object
final case class NamedResourcesAttribute(name: String, quantity: Option[Quantity], stringSlice: Option[NamedResourcesStringSlice], string: Option[String], version: Option[String], bool: Option[Boolean], intSlice: Option[NamedResourcesIntSlice], int: Option[Long])

NamedResourcesAttribute is a combination of an attribute name and its value.

Attributes

Companion
object
Source
NamedResourcesAttribute.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def mapBool(f: Boolean => Boolean): NamedResourcesAttribute

if bool has a value, transforms to the result of function

if bool has a value, transforms to the result of function

Attributes

Source
NamedResourcesAttribute.scala
def mapInt(f: Long => Long): NamedResourcesAttribute

if int has a value, transforms to the result of function

if int has a value, transforms to the result of function

Attributes

Source
NamedResourcesAttribute.scala

if intSlice has a value, transforms to the result of function

if intSlice has a value, transforms to the result of function

Attributes

Source
NamedResourcesAttribute.scala
def mapName(f: String => String): NamedResourcesAttribute

transforms name to result of function

transforms name to result of function

Attributes

Source
NamedResourcesAttribute.scala

if quantity has a value, transforms to the result of function

if quantity has a value, transforms to the result of function

Attributes

Source
NamedResourcesAttribute.scala
def mapString(f: String => String): NamedResourcesAttribute

if string has a value, transforms to the result of function

if string has a value, transforms to the result of function

Attributes

Source
NamedResourcesAttribute.scala

if stringSlice has a value, transforms to the result of function

if stringSlice has a value, transforms to the result of function

Attributes

Source
NamedResourcesAttribute.scala
def mapVersion(f: String => String): NamedResourcesAttribute

if version has a value, transforms to the result of function

if version has a value, transforms to the result of function

Attributes

Source
NamedResourcesAttribute.scala
def withBool(value: Boolean): NamedResourcesAttribute

Returns a new data with bool set to new value

Returns a new data with bool set to new value

Attributes

Source
NamedResourcesAttribute.scala
def withInt(value: Long): NamedResourcesAttribute

Returns a new data with int set to new value

Returns a new data with int set to new value

Attributes

Source
NamedResourcesAttribute.scala

Returns a new data with intSlice set to new value

Returns a new data with intSlice set to new value

Attributes

Source
NamedResourcesAttribute.scala
def withName(value: String): NamedResourcesAttribute

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source
NamedResourcesAttribute.scala

Returns a new data with quantity set to new value

Returns a new data with quantity set to new value

Attributes

Source
NamedResourcesAttribute.scala
def withString(value: String): NamedResourcesAttribute

Returns a new data with string set to new value

Returns a new data with string set to new value

Attributes

Source
NamedResourcesAttribute.scala

Returns a new data with stringSlice set to new value

Returns a new data with stringSlice set to new value

Attributes

Source
NamedResourcesAttribute.scala
def withVersion(value: String): NamedResourcesAttribute

Returns a new data with version set to new value

Returns a new data with version set to new value

Attributes

Source
NamedResourcesAttribute.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product