Class V1alpha2ResourceClaimConsumerReference
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha2ResourceClaimConsumerReference
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1alpha2ResourceClaimConsumerReference
extends Object
ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionV1alpha2ResourceClaimConsumerReference
(String name, String resource, String uid) -
Method Summary
Modifier and TypeMethodDescriptionSet apiGroup in a chainable fashion.boolean
APIGroup is the group for the resource being referenced.getName()
Name is the name of resource being referenced.Resource is the type of resource being referenced, for example \"pods\".getUid()
UID identifies exactly one incarnation of the resource.int
hashCode()
Set name in a chainable fashion.Set resource in a chainable fashion.void
setApiGroup
(String apiGroup) Set the apiGroup property valuevoid
Set the name property valuevoid
setResource
(String resource) Set the resource property valuevoid
Set the uid property valuetoString()
Set uid in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_RESOURCE
- See Also:
-
JSON_PROPERTY_UID
- See Also:
-
JSON_PROPERTY_API_GROUP
- See Also:
-
-
Constructor Details
-
V1alpha2ResourceClaimConsumerReference
-
-
Method Details
-
getName
Name is the name of resource being referenced.- Returns:
- the name property value
-
setName
Set the name property value- Parameters:
name
- property value to set
-
name
Set name in a chainable fashion.- Returns:
- The same instance of V1alpha2ResourceClaimConsumerReference for chaining.
-
getResource
Resource is the type of resource being referenced, for example \"pods\".- Returns:
- the resource property value
-
setResource
Set the resource property value- Parameters:
resource
- property value to set
-
resource
Set resource in a chainable fashion.- Returns:
- The same instance of V1alpha2ResourceClaimConsumerReference for chaining.
-
getUid
UID identifies exactly one incarnation of the resource.- Returns:
- the uid property value
-
setUid
Set the uid property value- Parameters:
uid
- property value to set
-
uid
Set uid in a chainable fashion.- Returns:
- The same instance of V1alpha2ResourceClaimConsumerReference for chaining.
-
getApiGroup
APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.- Returns:
- the apiGroup property value
-
setApiGroup
Set the apiGroup property value- Parameters:
apiGroup
- property value to set
-
apiGroup
Set apiGroup in a chainable fashion.- Returns:
- The same instance of V1alpha2ResourceClaimConsumerReference for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-