Class V1TypedObjectReference

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1TypedObjectReference extends Object
V1TypedObjectReference
  • Field Details

  • Constructor Details

    • V1TypedObjectReference

      public V1TypedObjectReference(String kind, String name)
  • Method Details

    • getApiGroup

      public String getApiGroup()
      APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.
      Returns:
      the apiGroup property value
    • setApiGroup

      public void setApiGroup(String apiGroup)
      Set the apiGroup property value
    • apiGroup

      public V1TypedObjectReference apiGroup(String apiGroup)
      Set apiGroup in a chainable fashion.
      Returns:
      The same instance of V1TypedObjectReference for chaining.
    • getKind

      public String getKind()
      Kind is the type of resource being referenced
      Returns:
      the kind property value
    • setKind

      public void setKind(String kind)
      Set the kind property value
    • kind

      public V1TypedObjectReference kind(String kind)
      Set kind in a chainable fashion.
      Returns:
      The same instance of V1TypedObjectReference for chaining.
    • getName

      public String getName()
      Name is the name of resource being referenced
      Returns:
      the name property value
    • setName

      public void setName(String name)
      Set the name property value
    • name

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

      public String getNamespace()
      Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
      Returns:
      the namespace property value
    • setNamespace

      public void setNamespace(String namespace)
      Set the namespace property value
    • namespace

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