Class PersistentVolumeConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1alpha2.PersistentVolumeConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PersistentVolumeConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PersistentVolumeConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<PersistentVolumeConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
persistentVolumeConfig provides configuration options for PersistentVolume storage.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PersistentVolumeConfig()No args constructor for use in serializationPersistentVolumeConfig(PersistentVolumeClaimReference claim, String mountPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PersistentVolumeConfigBuilderedit()Map<String,Object>getAdditionalProperties()PersistentVolumeClaimReferencegetClaim()persistentVolumeConfig provides configuration options for PersistentVolume storage.StringgetMountPath()mountPath is an optional field specifying the directory where the PVC will be mounted inside the Insights data gathering Pod.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetClaim(PersistentVolumeClaimReference claim)persistentVolumeConfig provides configuration options for PersistentVolume storage.voidsetMountPath(String mountPath)mountPath is an optional field specifying the directory where the PVC will be mounted inside the Insights data gathering Pod.PersistentVolumeConfigBuildertoBuilder()
-
-
-
Constructor Detail
-
PersistentVolumeConfig
public PersistentVolumeConfig()
No args constructor for use in serialization
-
PersistentVolumeConfig
public PersistentVolumeConfig(PersistentVolumeClaimReference claim, String mountPath)
-
-
Method Detail
-
getClaim
public PersistentVolumeClaimReference getClaim()
persistentVolumeConfig provides configuration options for PersistentVolume storage.
-
setClaim
public void setClaim(PersistentVolumeClaimReference claim)
persistentVolumeConfig provides configuration options for PersistentVolume storage.
-
getMountPath
public String getMountPath()
mountPath is an optional field specifying the directory where the PVC will be mounted inside the Insights data gathering Pod. When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time. The current default mount path is /var/lib/insights-operator The path may not exceed 1024 characters and must not contain a colon.
-
setMountPath
public void setMountPath(String mountPath)
mountPath is an optional field specifying the directory where the PVC will be mounted inside the Insights data gathering Pod. When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time. The current default mount path is /var/lib/insights-operator The path may not exceed 1024 characters and must not contain a colon.
-
edit
public PersistentVolumeConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PersistentVolumeConfigBuilder>
-
toBuilder
public PersistentVolumeConfigBuilder toBuilder()
-
-