Class V1PodResourceClaim
java.lang.Object
io.kubernetes.client.openapi.models.V1PodResourceClaim
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T21:37:40.170033Z[Etc/UTC]")
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
Name uniquely identifies this resource claim inside the pod.Get sourceint
hashCode()
void
void
setSource
(V1ClaimSource source) source
(V1ClaimSource source) toString()
-
Field Details
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_SOURCE
- See Also:
-
-
Constructor Details
-
V1PodResourceClaim
public V1PodResourceClaim()
-
-
Method Details
-
name
-
getName
Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.- Returns:
- name
-
setName
-
source
-
getSource
Get source- Returns:
- source
-
setSource
-
equals
-
hashCode
public int hashCode() -
toString
-