Class V1AppArmorProfile
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1AppArmorProfile
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1AppArmorProfile
extends Object
AppArmorProfile defines a pod or container's AppArmor settings.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
localhostProfile indicates a profile loaded on the node that should be used.getType()
type indicates which kind of AppArmor profile will be applied.int
hashCode()
localhostProfile
(String localhostProfile) Set localhostProfile in a chainable fashion.void
setLocalhostProfile
(String localhostProfile) Set the localhostProfile property valuevoid
Set the type property valuetoString()
Set type in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_LOCALHOST_PROFILE
- See Also:
-
-
Constructor Details
-
V1AppArmorProfile
-
-
Method Details
-
getType
type indicates which kind of AppArmor profile will be applied. Valid options are: Localhost - a profile pre-loaded on the node. RuntimeDefault - the container runtime's default profile. Unconfined - no AppArmor enforcement.- Returns:
- the type property value
-
setType
Set the type property value- Parameters:
type
- property value to set
-
type
Set type in a chainable fashion.- Returns:
- The same instance of V1AppArmorProfile for chaining.
-
getLocalhostProfile
localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\".- Returns:
- the localhostProfile property value
-
setLocalhostProfile
Set the localhostProfile property value- Parameters:
localhostProfile
- property value to set
-
localhostProfile
Set localhostProfile in a chainable fashion.- Returns:
- The same instance of V1AppArmorProfile for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-