Class BackupJobReference
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1alpha1.BackupJobReference
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<BackupJobReferenceBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class BackupJobReference extends Object implements io.fabric8.kubernetes.api.builder.Editable<BackupJobReferenceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
BackupJobReference holds a reference to the batch/v1 Job created to run the etcd backup- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BackupJobReference()No args constructor for use in serializationBackupJobReference(String name, String namespace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupJobReferenceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetName()name is the name of the Job.StringgetNamespace()namespace is the namespace of the Job. this is always expected to be "openshift-etcd" since the user provided PVC is also required to be in "openshift-etcd" RequiredvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetName(String name)name is the name of the Job.voidsetNamespace(String namespace)namespace is the namespace of the Job. this is always expected to be "openshift-etcd" since the user provided PVC is also required to be in "openshift-etcd" RequiredBackupJobReferenceBuildertoBuilder()
-
-
-
Method Detail
-
getName
public String getName()
name is the name of the Job. Required
-
setName
public void setName(String name)
name is the name of the Job. Required
-
getNamespace
public String getNamespace()
namespace is the namespace of the Job. this is always expected to be "openshift-etcd" since the user provided PVC is also required to be in "openshift-etcd" Required
-
setNamespace
public void setNamespace(String namespace)
namespace is the namespace of the Job. this is always expected to be "openshift-etcd" since the user provided PVC is also required to be in "openshift-etcd" Required
-
edit
public BackupJobReferenceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<BackupJobReferenceBuilder>
-
toBuilder
public BackupJobReferenceBuilder toBuilder()
-
-