Class Storage
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1alpha2.Storage
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<StorageBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Storage extends Object implements io.fabric8.kubernetes.api.builder.Editable<StorageBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
storage provides persistent storage configuration options for gathering jobs. If the type is set to PersistentVolume, then the PersistentVolume must be defined. If the type is set to Ephemeral, then the PersistentVolume must not be defined.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Storage()No args constructor for use in serializationStorage(PersistentVolumeConfig persistentVolume, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageBuilderedit()Map<String,Object>getAdditionalProperties()PersistentVolumeConfiggetPersistentVolume()storage provides persistent storage configuration options for gathering jobs.StringgetType()type is a required field that specifies the type of storage that will be used to store the Insights data archive.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetPersistentVolume(PersistentVolumeConfig persistentVolume)storage provides persistent storage configuration options for gathering jobs.voidsetType(String type)type is a required field that specifies the type of storage that will be used to store the Insights data archive.StorageBuildertoBuilder()
-
-
-
Constructor Detail
-
Storage
public Storage()
No args constructor for use in serialization
-
Storage
public Storage(PersistentVolumeConfig persistentVolume, String type)
-
-
Method Detail
-
getPersistentVolume
public PersistentVolumeConfig getPersistentVolume()
storage provides persistent storage configuration options for gathering jobs. If the type is set to PersistentVolume, then the PersistentVolume must be defined. If the type is set to Ephemeral, then the PersistentVolume must not be defined.
-
setPersistentVolume
public void setPersistentVolume(PersistentVolumeConfig persistentVolume)
storage provides persistent storage configuration options for gathering jobs. If the type is set to PersistentVolume, then the PersistentVolume must be defined. If the type is set to Ephemeral, then the PersistentVolume must not be defined.
-
getType
public String getType()
type is a required field that specifies the type of storage that will be used to store the Insights data archive. Valid values are "PersistentVolume" and "Ephemeral". When set to Ephemeral, the Insights data archive is stored in the ephemeral storage of the gathering job. When set to PersistentVolume, the Insights data archive is stored in the PersistentVolume that is defined by the persistentVolume field.
-
setType
public void setType(String type)
type is a required field that specifies the type of storage that will be used to store the Insights data archive. Valid values are "PersistentVolume" and "Ephemeral". When set to Ephemeral, the Insights data archive is stored in the ephemeral storage of the gathering job. When set to PersistentVolume, the Insights data archive is stored in the PersistentVolume that is defined by the persistentVolume field.
-
edit
public StorageBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<StorageBuilder>
-
toBuilder
public StorageBuilder toBuilder()
-
-