Class NamedResourcesAttribute
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1alpha2.NamedResourcesAttribute
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<NamedResourcesAttributeBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NamedResourcesAttribute extends Object implements io.fabric8.kubernetes.api.builder.Editable<NamedResourcesAttributeBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
NamedResourcesAttribute is a combination of an attribute name and its value.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NamedResourcesAttribute()No args constructor for use in serializationNamedResourcesAttribute(Boolean bool, Long _int, NamedResourcesIntSlice intSlice, String name, io.fabric8.kubernetes.api.model.Quantity quantity, String string, NamedResourcesStringSlice stringSlice, String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamedResourcesAttributeBuilderedit()Map<String,Object>getAdditionalProperties()BooleangetBool()BoolValue is a true/false value.LonggetInt()IntValue is a 64-bit integer.NamedResourcesIntSlicegetIntSlice()NamedResourcesAttribute is a combination of an attribute name and its value.StringgetName()Name is unique identifier among all resource instances managed by the driver on the node.io.fabric8.kubernetes.api.model.QuantitygetQuantity()NamedResourcesAttribute is a combination of an attribute name and its value.StringgetString()StringValue is a string.NamedResourcesStringSlicegetStringSlice()NamedResourcesAttribute is a combination of an attribute name and its value.StringgetVersion()VersionValue is a semantic version 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.voidsetInt(Long _int)IntValue is a 64-bit integer.voidsetIntSlice(NamedResourcesIntSlice intSlice)NamedResourcesAttribute is a combination of an attribute name and its value.voidsetName(String name)Name is unique identifier among all resource instances managed by the driver on the node.voidsetQuantity(io.fabric8.kubernetes.api.model.Quantity quantity)NamedResourcesAttribute is a combination of an attribute name and its value.voidsetString(String string)StringValue is a string.voidsetStringSlice(NamedResourcesStringSlice stringSlice)NamedResourcesAttribute is a combination of an attribute name and its value.voidsetVersion(String version)VersionValue is a semantic version according to semver.org spec 2.0.0.NamedResourcesAttributeBuildertoBuilder()
-
-
-
Constructor Detail
-
NamedResourcesAttribute
public NamedResourcesAttribute()
No args constructor for use in serialization
-
NamedResourcesAttribute
public NamedResourcesAttribute(Boolean bool, Long _int, NamedResourcesIntSlice intSlice, String name, io.fabric8.kubernetes.api.model.Quantity quantity, String string, NamedResourcesStringSlice stringSlice, String version)
-
-
Method Detail
-
getBool
public Boolean getBool()
BoolValue is a true/false value.
-
setBool
public void setBool(Boolean bool)
BoolValue is a true/false value.
-
getInt
public Long getInt()
IntValue is a 64-bit integer.
-
setInt
public void setInt(Long _int)
IntValue is a 64-bit integer.
-
getIntSlice
public NamedResourcesIntSlice getIntSlice()
NamedResourcesAttribute is a combination of an attribute name and its value.
-
setIntSlice
public void setIntSlice(NamedResourcesIntSlice intSlice)
NamedResourcesAttribute is a combination of an attribute name and its value.
-
getName
public String getName()
Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain.
-
setName
public void setName(String name)
Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain.
-
getQuantity
public io.fabric8.kubernetes.api.model.Quantity getQuantity()
NamedResourcesAttribute is a combination of an attribute name and its value.
-
setQuantity
public void setQuantity(io.fabric8.kubernetes.api.model.Quantity quantity)
NamedResourcesAttribute is a combination of an attribute name and its value.
-
getString
public String getString()
StringValue is a string.
-
setString
public void setString(String string)
StringValue is a string.
-
getStringSlice
public NamedResourcesStringSlice getStringSlice()
NamedResourcesAttribute is a combination of an attribute name and its value.
-
setStringSlice
public void setStringSlice(NamedResourcesStringSlice stringSlice)
NamedResourcesAttribute is a combination of an attribute name and its value.
-
getVersion
public String getVersion()
VersionValue is a semantic version according to semver.org spec 2.0.0.
-
setVersion
public void setVersion(String version)
VersionValue is a semantic version according to semver.org spec 2.0.0.
-
edit
public NamedResourcesAttributeBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<NamedResourcesAttributeBuilder>
-
toBuilder
public NamedResourcesAttributeBuilder toBuilder()
-
-