Class V1PodResourceClaimStatus
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1PodResourceClaimStatus
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1PodResourceClaimStatus
extends Object
PodResourceClaimStatus is stored in the PodStatus for each PodResourceClaim which references a ResourceClaimTemplate. It stores the generated name for the corresponding ResourceClaim.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
Name uniquely identifies this resource claim inside the pod.ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod.int
hashCode()
Set name in a chainable fashion.resourceClaimName
(String resourceClaimName) Set resourceClaimName in a chainable fashion.void
Set the name property valuevoid
setResourceClaimName
(String resourceClaimName) Set the resourceClaimName property valuetoString()
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_RESOURCE_CLAIM_NAME
- See Also:
-
-
Constructor Details
-
V1PodResourceClaimStatus
-
-
Method Details
-
getName
Name uniquely identifies this resource claim inside the pod. This must match the name of an entry in pod.spec.resourceClaims, which implies that the string must be a DNS_LABEL.- 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 V1PodResourceClaimStatus for chaining.
-
getResourceClaimName
ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. If this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case.- Returns:
- the resourceClaimName property value
-
setResourceClaimName
Set the resourceClaimName property value- Parameters:
resourceClaimName
- property value to set
-
resourceClaimName
Set resourceClaimName in a chainable fashion.- Returns:
- The same instance of V1PodResourceClaimStatus for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-