Class V1NamespaceSpec

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1NamespaceSpec

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1NamespaceSpec extends Object
NamespaceSpec describes the attributes on a Namespace.
  • Field Details

  • Constructor Details

    • V1NamespaceSpec

      public V1NamespaceSpec()
  • Method Details

    • getFinalizers

      public List<@NotNull String> getFinalizers()
      Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
      Returns:
      the finalizers property value
    • setFinalizers

      public void setFinalizers(List<@NotNull String> finalizers)
      Set the finalizers property value
      Parameters:
      finalizers - property value to set
    • finalizers

      public V1NamespaceSpec finalizers(List<@NotNull String> finalizers)
      Set finalizers in a chainable fashion.
      Returns:
      The same instance of V1NamespaceSpec for chaining.
    • addfinalizersItem

      public V1NamespaceSpec addfinalizersItem(String finalizersItem)
      Add an item to the finalizers property in a chainable fashion.
      Returns:
      The same instance of V1NamespaceSpec 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