All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.k8s.api.core.v1.PersistentVolumeClaimTemplate Maven / Gradle / Ivy

There is a newer version: 1.30.4
Show newest version
package io.k8s.api.core.v1;

import io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta;

/**
 * PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.
 */
public class PersistentVolumeClaimTemplate {
  public ObjectMeta metadata;

  public PersistentVolumeClaimSpec spec;

  public PersistentVolumeClaimTemplate metadata(ObjectMeta metadata) {
    this.metadata = metadata;
    return this;
  }

  public PersistentVolumeClaimTemplate spec(PersistentVolumeClaimSpec spec) {
    this.spec = spec;
    return this;
  }

  public static PersistentVolumeClaimTemplate persistentVolumeClaimTemplate() {
    return new PersistentVolumeClaimTemplate();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy