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 Details

  • Constructor Details

    • V1AppArmorProfile

      public V1AppArmorProfile()
  • Method Details

    • localhostProfile

      public V1AppArmorProfile localhostProfile(String localhostProfile)
    • getLocalhostProfile

      @Nullable public String 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

      public void setLocalhostProfile(String localhostProfile)
    • type

      public V1AppArmorProfile type(String type)
    • getType

      public String 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

      public void setType(String type)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object