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, SecretProjection secret, ServiceAccountTokenProjection serviceAccountToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VolumeProjectionBuilder
edit()
Map<String,Object>
getAdditionalProperties()
ClusterTrustBundleProjection
getClusterTrustBundle()
Projection that may be projected along with other supported volume types.ConfigMapProjection
getConfigMap()
Projection that may be projected along with other supported volume types.DownwardAPIProjection
getDownwardAPI()
Projection that may be projected along with other supported volume types.SecretProjection
getSecret()
Projection that may be projected along with other supported volume types.ServiceAccountTokenProjection
getServiceAccountToken()
Projection that may be projected along with other supported volume types.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setClusterTrustBundle(ClusterTrustBundleProjection clusterTrustBundle)
Projection that may be projected along with other supported volume types.void
setConfigMap(ConfigMapProjection configMap)
Projection that may be projected along with other supported volume types.void
setDownwardAPI(DownwardAPIProjection downwardAPI)
Projection that may be projected along with other supported volume types.void
setSecret(SecretProjection secret)
Projection that may be projected along with other supported volume types.void
setServiceAccountToken(ServiceAccountTokenProjection serviceAccountToken)
Projection that may be projected along with other supported volume types.VolumeProjectionBuilder
toBuilder()
-
-
-
Constructor Detail
-
VolumeProjection
public VolumeProjection()
No args constructor for use in serialization
-
VolumeProjection
public VolumeProjection(ClusterTrustBundleProjection clusterTrustBundle, ConfigMapProjection configMap, DownwardAPIProjection downwardAPI, 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.
-
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:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<VolumeProjectionBuilder>
-
toBuilder
public VolumeProjectionBuilder toBuilder()
-
-