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

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

package io.k8s.api.core.v1;

/**
 * Projection that may be projected along with other supported volume types
 */
public class VolumeProjection {
  public ClusterTrustBundleProjection clusterTrustBundle;

  public ConfigMapProjection configMap;

  public DownwardAPIProjection downwardAPI;

  public SecretProjection secret;

  public ServiceAccountTokenProjection serviceAccountToken;

  public VolumeProjection clusterTrustBundle(ClusterTrustBundleProjection clusterTrustBundle) {
    this.clusterTrustBundle = clusterTrustBundle;
    return this;
  }

  public VolumeProjection configMap(ConfigMapProjection configMap) {
    this.configMap = configMap;
    return this;
  }

  public VolumeProjection downwardAPI(DownwardAPIProjection downwardAPI) {
    this.downwardAPI = downwardAPI;
    return this;
  }

  public VolumeProjection secret(SecretProjection secret) {
    this.secret = secret;
    return this;
  }

  public VolumeProjection serviceAccountToken(ServiceAccountTokenProjection serviceAccountToken) {
    this.serviceAccountToken = serviceAccountToken;
    return this;
  }

  public static VolumeProjection volumeProjection() {
    return new VolumeProjection();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy