Interface Generated.PersistentVolumeClaimTemplateOrBuilder

    • Method Detail

      • hasMetadata

        boolean hasMetadata()
         May contain labels and annotations that will be copied into the PVC
         when creating it. No other fields are allowed and will be rejected during
         validation.
        
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
        Returns:
        Whether the metadata field is set.
      • getMetadata

        Generated.ObjectMeta getMetadata()
         May contain labels and annotations that will be copied into the PVC
         when creating it. No other fields are allowed and will be rejected during
         validation.
        
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
        Returns:
        The metadata.
      • getMetadataOrBuilder

        Generated.ObjectMetaOrBuilder getMetadataOrBuilder()
         May contain labels and annotations that will be copied into the PVC
         when creating it. No other fields are allowed and will be rejected during
         validation.
        
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
      • hasSpec

        boolean hasSpec()
         The specification for the PersistentVolumeClaim. The entire content is
         copied unchanged into the PVC that gets created from this
         template. The same fields as in a PersistentVolumeClaim
         are also valid here.
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimSpec spec = 2;
        Returns:
        Whether the spec field is set.
      • getSpec

        Generated.PersistentVolumeClaimSpec getSpec()
         The specification for the PersistentVolumeClaim. The entire content is
         copied unchanged into the PVC that gets created from this
         template. The same fields as in a PersistentVolumeClaim
         are also valid here.
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimSpec spec = 2;
        Returns:
        The spec.
      • getSpecOrBuilder

        Generated.PersistentVolumeClaimSpecOrBuilder getSpecOrBuilder()
         The specification for the PersistentVolumeClaim. The entire content is
         copied unchanged into the PVC that gets created from this
         template. The same fields as in a PersistentVolumeClaim
         are also valid here.
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimSpec spec = 2;