Class V1TypedObjectReference

java.lang.Object
io.kubernetes.client.openapi.models.V1TypedObjectReference

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-18T15:05:57.863601Z[Etc/UTC]") public class V1TypedObjectReference extends Object
V1TypedObjectReference
  • Field Details

  • Constructor Details

    • V1TypedObjectReference

      public V1TypedObjectReference()
  • Method Details

    • apiGroup

      public V1TypedObjectReference apiGroup(String apiGroup)
    • getApiGroup

      @Nullable 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:
      apiGroup
    • setApiGroup

      public void setApiGroup(String apiGroup)
    • kind

      public V1TypedObjectReference kind(String kind)
    • getKind

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

      public void setKind(String kind)
    • name

      public V1TypedObjectReference name(String name)
    • getName

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

      public void setName(String name)
    • namespace

      public V1TypedObjectReference namespace(String namespace)
    • getNamespace

      @Nullable 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:
      namespace
    • setNamespace

      public void setNamespace(String namespace)
    • 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