Class V1PodResourceClaim
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1PodResourceClaim
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1PodResourceClaim
extends Object
PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
Name uniquely identifies this resource claim inside the pod.int
hashCode()
Set name in a chainable fashion.void
Set the name property valuevoid
setSource
(V1ClaimSource source) Set the source property valuesource
(V1ClaimSource source) Set source in a chainable fashion.toString()
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_SOURCE
- See Also:
-
-
Constructor Details
-
V1PodResourceClaim
-
-
Method Details
-
getName
Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.- Returns:
- the name property value
-
setName
Set the name property value -
name
Set name in a chainable fashion.- Returns:
- The same instance of V1PodResourceClaim for chaining.
-
getSource
- Returns:
- the source property value
-
setSource
Set the source property value -
source
Set source in a chainable fashion.- Returns:
- The same instance of V1PodResourceClaim for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-