Package io.fabric8.kubernetes.api.model
Class VolumeProjection
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.VolumeProjection
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<VolumeProjectionBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class VolumeProjection extends Object implements io.fabric8.kubernetes.api.builder.Editable<VolumeProjectionBuilder>, KubernetesResource
Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VolumeProjection()No args constructor for use in serializationVolumeProjection(ClusterTrustBundleProjection clusterTrustBundle, ConfigMapProjection configMap, DownwardAPIProjection downwardAPI, PodCertificateProjection podCertificate, SecretProjection secret, ServiceAccountTokenProjection serviceAccountToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VolumeProjectionBuilderedit()Map<String,Object>getAdditionalProperties()ClusterTrustBundleProjectiongetClusterTrustBundle()Projection that may be projected along with other supported volume types.ConfigMapProjectiongetConfigMap()Projection that may be projected along with other supported volume types.DownwardAPIProjectiongetDownwardAPI()Projection that may be projected along with other supported volume types.PodCertificateProjectiongetPodCertificate()Projection that may be projected along with other supported volume types.SecretProjectiongetSecret()Projection that may be projected along with other supported volume types.ServiceAccountTokenProjectiongetServiceAccountToken()Projection that may be projected along with other supported volume types.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetClusterTrustBundle(ClusterTrustBundleProjection clusterTrustBundle)Projection that may be projected along with other supported volume types.voidsetConfigMap(ConfigMapProjection configMap)Projection that may be projected along with other supported volume types.voidsetDownwardAPI(DownwardAPIProjection downwardAPI)Projection that may be projected along with other supported volume types.voidsetPodCertificate(PodCertificateProjection podCertificate)Projection that may be projected along with other supported volume types.voidsetSecret(SecretProjection secret)Projection that may be projected along with other supported volume types.voidsetServiceAccountToken(ServiceAccountTokenProjection serviceAccountToken)Projection that may be projected along with other supported volume types.VolumeProjectionBuildertoBuilder()
-
-
-
Constructor Detail
-
VolumeProjection
public VolumeProjection()
No args constructor for use in serialization
-
VolumeProjection
public VolumeProjection(ClusterTrustBundleProjection clusterTrustBundle, ConfigMapProjection configMap, DownwardAPIProjection downwardAPI, PodCertificateProjection podCertificate, SecretProjection secret, ServiceAccountTokenProjection serviceAccountToken)
-
-
Method Detail
-
getClusterTrustBundle
public ClusterTrustBundleProjection getClusterTrustBundle()
Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.
-
setClusterTrustBundle
public void setClusterTrustBundle(ClusterTrustBundleProjection clusterTrustBundle)
Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.
-
getConfigMap
public ConfigMapProjection getConfigMap()
Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.
-
setConfigMap
public void setConfigMap(ConfigMapProjection configMap)
Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.
-
getDownwardAPI
public DownwardAPIProjection getDownwardAPI()
Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.
-
setDownwardAPI
public void setDownwardAPI(DownwardAPIProjection downwardAPI)
Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.
-
getPodCertificate
public PodCertificateProjection getPodCertificate()
Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.
-
setPodCertificate
public void setPodCertificate(PodCertificateProjection podCertificate)
Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.
-
getSecret
public SecretProjection getSecret()
Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.
-
setSecret
public void setSecret(SecretProjection secret)
Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.
-
getServiceAccountToken
public ServiceAccountTokenProjection getServiceAccountToken()
Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.
-
setServiceAccountToken
public void setServiceAccountToken(ServiceAccountTokenProjection serviceAccountToken)
Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.
-
edit
public VolumeProjectionBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<VolumeProjectionBuilder>
-
toBuilder
public VolumeProjectionBuilder toBuilder()
-
-