Class NamedResourcesInstance
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1alpha2.NamedResourcesInstance
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<NamedResourcesInstanceBuilder>
,io.fabric8.kubernetes.api.model.KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NamedResourcesInstance extends Object implements io.fabric8.kubernetes.api.builder.Editable<NamedResourcesInstanceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
NamedResourcesInstance represents one individual hardware instance that can be selected based on its attributes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NamedResourcesInstance()
No args constructor for use in serializationNamedResourcesInstance(List<NamedResourcesAttribute> attributes, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamedResourcesInstanceBuilder
edit()
Map<String,Object>
getAdditionalProperties()
List<NamedResourcesAttribute>
getAttributes()
Attributes defines the attributes of this resource instance.String
getName()
Name is unique identifier among all resource instances managed by the driver on the node.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setAttributes(List<NamedResourcesAttribute> attributes)
Attributes defines the attributes of this resource instance.void
setName(String name)
Name is unique identifier among all resource instances managed by the driver on the node.NamedResourcesInstanceBuilder
toBuilder()
-
-
-
Constructor Detail
-
NamedResourcesInstance
public NamedResourcesInstance()
No args constructor for use in serialization
-
NamedResourcesInstance
public NamedResourcesInstance(List<NamedResourcesAttribute> attributes, String name)
-
-
Method Detail
-
getAttributes
public List<NamedResourcesAttribute> getAttributes()
Attributes defines the attributes of this resource instance. The name of each attribute must be unique.
-
setAttributes
public void setAttributes(List<NamedResourcesAttribute> attributes)
Attributes defines the attributes of this resource instance. The name of each attribute must be unique.
-
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.
-
edit
public NamedResourcesInstanceBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<NamedResourcesInstanceBuilder>
-
toBuilder
public NamedResourcesInstanceBuilder toBuilder()
-
-