Class BackupConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.v1.BackupConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<BackupConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class BackupConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<BackupConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
BackupConfig contains settings for the Velero backup integration.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BackupConfig()No args constructor for use in serializationBackupConfig(Integer minBackupPeriodSeconds, VeleroBackupConfig velero)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupConfigBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetMinBackupPeriodSeconds()MinBackupPeriodSeconds specifies that a minimum of MinBackupPeriodSeconds will occur in between each backup.VeleroBackupConfiggetVelero()BackupConfig contains settings for the Velero backup integration.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMinBackupPeriodSeconds(Integer minBackupPeriodSeconds)MinBackupPeriodSeconds specifies that a minimum of MinBackupPeriodSeconds will occur in between each backup.voidsetVelero(VeleroBackupConfig velero)BackupConfig contains settings for the Velero backup integration.BackupConfigBuildertoBuilder()
-
-
-
Constructor Detail
-
BackupConfig
public BackupConfig()
No args constructor for use in serialization
-
BackupConfig
public BackupConfig(Integer minBackupPeriodSeconds, VeleroBackupConfig velero)
-
-
Method Detail
-
getMinBackupPeriodSeconds
public Integer getMinBackupPeriodSeconds()
MinBackupPeriodSeconds specifies that a minimum of MinBackupPeriodSeconds will occur in between each backup. This is used to rate limit backups. This potentially batches together multiple changes into 1 backup. No backups will be lost as changes that happen during this interval are queued up and will result in a backup happening once the interval has been completed.
-
setMinBackupPeriodSeconds
public void setMinBackupPeriodSeconds(Integer minBackupPeriodSeconds)
MinBackupPeriodSeconds specifies that a minimum of MinBackupPeriodSeconds will occur in between each backup. This is used to rate limit backups. This potentially batches together multiple changes into 1 backup. No backups will be lost as changes that happen during this interval are queued up and will result in a backup happening once the interval has been completed.
-
getVelero
public VeleroBackupConfig getVelero()
BackupConfig contains settings for the Velero backup integration.
-
setVelero
public void setVelero(VeleroBackupConfig velero)
BackupConfig contains settings for the Velero backup integration.
-
edit
public BackupConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<BackupConfigBuilder>
-
toBuilder
public BackupConfigBuilder toBuilder()
-
-