Class DeviceAttribute
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1beta2.DeviceAttribute
-
- All Implemented Interfaces:
Editable<DeviceAttributeBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class DeviceAttribute extends Object implements Editable<DeviceAttributeBuilder>, KubernetesResource
DeviceAttribute must have exactly one field set.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceAttributeBuilderedit()Map<String,Object>getAdditionalProperties()BooleangetBool()BoolValue is a true/false value.List<Boolean>getBools()BoolValues is a non-empty list of true/false values.LonggetInt()IntValue is a number.List<Long>getInts()IntValues is a non-empty list of numbers.StringgetString()StringValue is a string.List<String>getStrings()StringValues is a non-empty list of strings.StringgetVersion()VersionValue is a semantic version according to semver.org spec 2.0.0.List<String>getVersions()VersionValues is a non-empty list of semantic versions according to semver.org spec 2.0.0.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetBool(Boolean bool)BoolValue is a true/false value.voidsetBools(List<Boolean> bools)BoolValues is a non-empty list of true/false values.voidsetInt(Long _int)IntValue is a number.voidsetInts(List<Long> ints)IntValues is a non-empty list of numbers.voidsetString(String string)StringValue is a string.voidsetStrings(List<String> strings)StringValues is a non-empty list of strings.voidsetVersion(String version)VersionValue is a semantic version according to semver.org spec 2.0.0.voidsetVersions(List<String> versions)VersionValues is a non-empty list of semantic versions according to semver.org spec 2.0.0.DeviceAttributeBuildertoBuilder()
-
-
-
Method Detail
-
getBool
public Boolean getBool()
BoolValue is a true/false value.
-
setBool
public void setBool(Boolean bool)
BoolValue is a true/false value.
-
setBools
public void setBools(List<Boolean> bools)
BoolValues is a non-empty list of true/false values.
-
getInt
public Long getInt()
IntValue is a number.
-
setInt
public void setInt(Long _int)
IntValue is a number.
-
getInts
public List<Long> getInts()
IntValues is a non-empty list of numbers.This is an alpha field and requires enabling the DRAListTypeAttributes feature gate.
-
setInts
public void setInts(List<Long> ints)
IntValues is a non-empty list of numbers.This is an alpha field and requires enabling the DRAListTypeAttributes feature gate.
-
getString
public String getString()
StringValue is a string. Must not be longer than 64 characters.
-
setString
public void setString(String string)
StringValue is a string. Must not be longer than 64 characters.
-
getStrings
public List<String> getStrings()
StringValues is a non-empty list of strings. Each string must not be longer than 64 characters.This is an alpha field and requires enabling the DRAListTypeAttributes feature gate.
-
setStrings
public void setStrings(List<String> strings)
StringValues is a non-empty list of strings. Each string must not be longer than 64 characters.This is an alpha field and requires enabling the DRAListTypeAttributes feature gate.
-
getVersion
public String getVersion()
VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.
-
setVersion
public void setVersion(String version)
VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.
-
getVersions
public List<String> getVersions()
VersionValues is a non-empty list of semantic versions according to semver.org spec 2.0.0. Each version string must not be longer than 64 characters.This is an alpha field and requires enabling the DRAListTypeAttributes feature gate.
-
setVersions
public void setVersions(List<String> versions)
VersionValues is a non-empty list of semantic versions according to semver.org spec 2.0.0. Each version string must not be longer than 64 characters.This is an alpha field and requires enabling the DRAListTypeAttributes feature gate.
-
edit
public DeviceAttributeBuilder edit()
- Specified by:
editin interfaceEditable<DeviceAttributeBuilder>
-
toBuilder
public DeviceAttributeBuilder toBuilder()
-
-