Class V1SecretReference

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1SecretReference extends Object
SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace
  • Field Details

  • Constructor Details

    • V1SecretReference

      public V1SecretReference()
  • Method Details

    • getName

      public String getName()
      name is unique within a namespace to reference a secret resource.
      Returns:
      the name property value
    • setName

      public void setName(String name)
      Set the name property value
      Parameters:
      name - property value to set
    • name

      public V1SecretReference name(String name)
      Set name in a chainable fashion.
      Returns:
      The same instance of V1SecretReference for chaining.
    • getNamespace

      public String getNamespace()
      namespace defines the space within which the secret name must be unique.
      Returns:
      the namespace property value
    • setNamespace

      public void setNamespace(String namespace)
      Set the namespace property value
      Parameters:
      namespace - property value to set
    • namespace

      public V1SecretReference namespace(String namespace)
      Set namespace in a chainable fashion.
      Returns:
      The same instance of V1SecretReference 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