Class V1alpha2NamedResourcesInstance
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha2NamedResourcesInstance
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:08.546919Z[Etc/UTC]")
public class V1alpha2NamedResourcesInstance
extends Object
NamedResourcesInstance represents one individual hardware instance that can be selected based on its attributes.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttributesItem
(V1alpha2NamedResourcesAttribute attributesItem) attributes
(List<V1alpha2NamedResourcesAttribute> attributes) boolean
Attributes defines the attributes of this resource instance.getName()
Name is unique identifier among all resource instances managed by the driver on the node.int
hashCode()
void
setAttributes
(List<V1alpha2NamedResourcesAttribute> attributes) void
toString()
-
Field Details
-
SERIALIZED_NAME_ATTRIBUTES
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
-
Constructor Details
-
V1alpha2NamedResourcesInstance
public V1alpha2NamedResourcesInstance()
-
-
Method Details
-
attributes
-
addAttributesItem
public V1alpha2NamedResourcesInstance addAttributesItem(V1alpha2NamedResourcesAttribute attributesItem) -
getAttributes
Attributes defines the attributes of this resource instance. The name of each attribute must be unique.- Returns:
- attributes
-
setAttributes
-
name
-
getName
Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain.- Returns:
- name
-
setName
-
equals
-
hashCode
public int hashCode() -
toString
-