Class V1PersistentVolumeClaim
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1PersistentVolumeClaim
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1PersistentVolumeClaim
extends Object
PersistentVolumeClaim is a user's request for and claim to a persistent volume
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionapiVersion(String apiVersion) Set apiVersion in a chainable fashion.booleanAPIVersion defines the versioned schema of this representation of an object.getKind()Kind is a string value representing the REST resource this object represents.getSpec()inthashCode()Set kind in a chainable fashion.metadata(V1ObjectMeta metadata) Set metadata in a chainable fashion.voidsetApiVersion(String apiVersion) Set the apiVersion property valuevoidSet the kind property valuevoidsetMetadata(V1ObjectMeta metadata) Set the metadata property valuevoidSet the spec property valuevoidSet the status property valueSet spec in a chainable fashion.status(V1PersistentVolumeClaimStatus status) Set status in a chainable fashion.toString()
- 
Field Details- 
JSON_PROPERTY_API_VERSION- See Also:
 
- 
JSON_PROPERTY_KIND- See Also:
 
- 
JSON_PROPERTY_METADATA- See Also:
 
- 
JSON_PROPERTY_SPEC- See Also:
 
- 
JSON_PROPERTY_STATUS- See Also:
 
 
- 
- 
Constructor Details- 
V1PersistentVolumeClaimpublic V1PersistentVolumeClaim()
 
- 
- 
Method Details- 
getApiVersionAPIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources- Returns:
- the apiVersion property value
 
- 
setApiVersionSet the apiVersion property value
- 
apiVersionSet apiVersion in a chainable fashion.- Returns:
- The same instance of V1PersistentVolumeClaim for chaining.
 
- 
getKindKind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds- Returns:
- the kind property value
 
- 
setKindSet the kind property value
- 
kindSet kind in a chainable fashion.- Returns:
- The same instance of V1PersistentVolumeClaim for chaining.
 
- 
getMetadata- Returns:
- the metadata property value
 
- 
setMetadataSet the metadata property value
- 
metadataSet metadata in a chainable fashion.- Returns:
- The same instance of V1PersistentVolumeClaim for chaining.
 
- 
getSpec- Returns:
- the spec property value
 
- 
setSpecSet the spec property value
- 
specSet spec in a chainable fashion.- Returns:
- The same instance of V1PersistentVolumeClaim for chaining.
 
- 
getStatus- Returns:
- the status property value
 
- 
setStatusSet the status property value
- 
statusSet status in a chainable fashion.- Returns:
- The same instance of V1PersistentVolumeClaim for chaining.
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-