Class V1alpha3Device
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha3Device
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1alpha3Device
extends Object
Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbasic
(V1alpha3BasicDevice basic) Set basic in a chainable fashion.boolean
getBasic()
getName()
Name is unique identifier among all devices managed by the driver in the pool.int
hashCode()
Set name in a chainable fashion.void
setBasic
(V1alpha3BasicDevice basic) Set the basic property valuevoid
Set the name property valuetoString()
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_BASIC
- See Also:
-
-
Constructor Details
-
V1alpha3Device
-
-
Method Details
-
getName
Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.- Returns:
- the name property value
-
setName
Set the name property value- Parameters:
name
- property value to set
-
name
Set name in a chainable fashion.- Returns:
- The same instance of V1alpha3Device for chaining.
-
getBasic
- Returns:
- the basic property value
-
setBasic
Set the basic property value- Parameters:
basic
- property value to set
-
basic
Set basic in a chainable fashion.- Returns:
- The same instance of V1alpha3Device for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-