Class V1AppArmorProfile
java.lang.Object
io.kubernetes.client.openapi.models.V1AppArmorProfile
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:08.546919Z[Etc/UTC]")
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) void
setLocalhostProfile
(String localhostProfile) void
toString()
-
Field Details
-
SERIALIZED_NAME_LOCALHOST_PROFILE
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
-
Constructor Details
-
V1AppArmorProfile
public V1AppArmorProfile()
-
-
Method Details
-
localhostProfile
-
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:
- localhostProfile
-
setLocalhostProfile
-
type
-
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:
- type
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-