Class V1Capabilities
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1Capabilities
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1Capabilities
extends Object
Adds and removes POSIX capabilities from running containers.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet add in a chainable fashion.addaddItem
(String addItem) Add an item to the add property in a chainable fashion.adddropItem
(String dropItem) Add an item to the drop property in a chainable fashion.Set drop in a chainable fashion.boolean
getAdd()
Added capabilitiesgetDrop()
Removed capabilitiesint
hashCode()
void
Set the add property valuevoid
Set the drop property valuetoString()
-
Field Details
-
JSON_PROPERTY_ADD
- See Also:
-
JSON_PROPERTY_DROP
- See Also:
-
-
Constructor Details
-
V1Capabilities
public V1Capabilities()
-
-
Method Details
-
getAdd
Added capabilities- Returns:
- the add property value
-
setAdd
Set the add property value- Parameters:
add
- property value to set
-
add
Set add in a chainable fashion.- Returns:
- The same instance of V1Capabilities for chaining.
-
addaddItem
Add an item to the add property in a chainable fashion.- Returns:
- The same instance of V1Capabilities for chaining.
-
getDrop
Removed capabilities- Returns:
- the drop property value
-
setDrop
Set the drop property value- Parameters:
drop
- property value to set
-
drop
Set drop in a chainable fashion.- Returns:
- The same instance of V1Capabilities for chaining.
-
adddropItem
Add an item to the drop property in a chainable fashion.- Returns:
- The same instance of V1Capabilities for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-