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 Details

  • Constructor Details

    • V1AppArmorProfile

      public V1AppArmorProfile(String type)
  • Method Details

    • 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:
      the type property value
    • setType

      public void setType(String type)
      Set the type property value
      Parameters:
      type - property value to set
    • type

      public V1AppArmorProfile type(String type)
      Set type in a chainable fashion.
      Returns:
      The same instance of V1AppArmorProfile for chaining.
    • getLocalhostProfile

      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:
      the localhostProfile property value
    • setLocalhostProfile

      public void setLocalhostProfile(String localhostProfile)
      Set the localhostProfile property value
      Parameters:
      localhostProfile - property value to set
    • localhostProfile

      public V1AppArmorProfile localhostProfile(String localhostProfile)
      Set localhostProfile in a chainable fashion.
      Returns:
      The same instance of V1AppArmorProfile for chaining.
    • 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