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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet apiGroup in a chainable fashion.boolean
APIGroup is the group for the resource being referenced.getKind()
Kind is the type of resource being referencedgetName()
Name is the name of resource being referencedNamespace 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.int
hashCode()
Set kind in a chainable fashion.Set name in a chainable fashion.Set namespace in a chainable fashion.void
setApiGroup
(String apiGroup) Set the apiGroup property valuevoid
Set the kind property valuevoid
Set the name property valuevoid
setNamespace
(String namespace) Set the namespace property valuetoString()
-
Field Details
-
JSON_PROPERTY_API_GROUP
- See Also:
-
JSON_PROPERTY_KIND
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_NAMESPACE
- See Also:
-
-
Constructor Details
-
V1TypedObjectReference
-
-
Method Details
-
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
Set the apiGroup property value -
apiGroup
Set apiGroup in a chainable fashion.- Returns:
- The same instance of V1TypedObjectReference for chaining.
-
getKind
Kind is the type of resource being referenced- Returns:
- the kind property value
-
setKind
Set the kind property value -
kind
Set kind in a chainable fashion.- Returns:
- The same instance of V1TypedObjectReference for chaining.
-
getName
Name is the name of resource being referenced- Returns:
- the name property value
-
setName
Set the name property value -
name
Set name in a chainable fashion.- Returns:
- The same instance of V1TypedObjectReference for chaining.
-
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
Set the namespace property value -
namespace
Set namespace in a chainable fashion.- Returns:
- The same instance of V1TypedObjectReference for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-