Class BackupContentOptions

java.lang.Object
com.cloudera.cdp.de.model.BackupContentOptions

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:27.658-07:00") public class BackupContentOptions extends Object
Backup virtual cluster content options.
  • Constructor Details

    • BackupContentOptions

      public BackupContentOptions()
  • Method Details

    • getIncludeJobs

      public Boolean getIncludeJobs()
      Getter for includeJobs. Whether to backup jobs. By default, jobs are backed up.
    • setIncludeJobs

      public void setIncludeJobs(Boolean includeJobs)
      Setter for includeJobs. Whether to backup jobs. By default, jobs are backed up.
    • getIncludeJobResources

      public Boolean getIncludeJobResources()
      Getter for includeJobResources. Whether to backup job resources. By default, job resources are backed up.
    • setIncludeJobResources

      public void setIncludeJobResources(Boolean includeJobResources)
      Setter for includeJobResources. Whether to backup job resources. By default, job resources are backed up.
    • getIncludeResources

      public Boolean getIncludeResources()
      Getter for includeResources. Whether to backup resources. By default, resources are backed up.
    • setIncludeResources

      public void setIncludeResources(Boolean includeResources)
      Setter for includeResources. Whether to backup resources. By default, resources are backed up.
    • getIncludeResourceCredentials

      public Boolean getIncludeResourceCredentials()
      Getter for includeResourceCredentials. Whether to backup resource credentials. By default, resource credentials are backed up.
    • setIncludeResourceCredentials

      public void setIncludeResourceCredentials(Boolean includeResourceCredentials)
      Setter for includeResourceCredentials. Whether to backup resource credentials. By default, resource credentials are backed up.
    • getIncludeCredentials

      public Boolean getIncludeCredentials()
      Getter for includeCredentials. Whether to backup credentials. By default, credentials are backed up.
    • setIncludeCredentials

      public void setIncludeCredentials(Boolean includeCredentials)
      Setter for includeCredentials. Whether to backup credentials. By default, credentials are backed up.
    • getIncludeCredentialSecrets

      public Boolean getIncludeCredentialSecrets()
      Getter for includeCredentialSecrets. Whether to backup credential secrets. Secrets are obfuscated while storing. By default, credential secrets are backed up.
    • setIncludeCredentialSecrets

      public void setIncludeCredentialSecrets(Boolean includeCredentialSecrets)
      Setter for includeCredentialSecrets. Whether to backup credential secrets. Secrets are obfuscated while storing. By default, credential secrets are backed up.
    • getIncludeJobRuns

      public Boolean getIncludeJobRuns()
      Getter for includeJobRuns. Whether to backup job runs. By default, job runs are backed up.
    • setIncludeJobRuns

      public void setIncludeJobRuns(Boolean includeJobRuns)
      Setter for includeJobRuns. Whether to backup job runs. By default, job runs are backed up.
    • getJobFilter

      public List<String> getJobFilter()
      Getter for jobFilter. Filter jobs for backup using 'fieldname(operator)argument' syntax. Here, 'fieldname' is one of the job fields (e.g. name, type, etc.), and 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). Multiple filters are ANDed. For example, 'name(eq)SparkPi'. This will only take effect if jobs are backed up, as controlled by the 'includeJobs' option.
    • setJobFilter

      public void setJobFilter(List<String> jobFilter)
      Setter for jobFilter. Filter jobs for backup using 'fieldname(operator)argument' syntax. Here, 'fieldname' is one of the job fields (e.g. name, type, etc.), and 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). Multiple filters are ANDed. For example, 'name(eq)SparkPi'. This will only take effect if jobs are backed up, as controlled by the 'includeJobs' option.
    • getResourceFilter

      public List<String> getResourceFilter()
      Getter for resourceFilter. Filter resources for backup using 'fieldname(operator)argument' syntax. Here, 'fieldname' is one of the resource fields (e.g. name, type, status, etc.), and 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). Multiple filters are ANDed. For example, 'name(eq)test-resource'. This will only take effect if resources are backed up, as controlled by the 'includeResources' option.
    • setResourceFilter

      public void setResourceFilter(List<String> resourceFilter)
      Setter for resourceFilter. Filter resources for backup using 'fieldname(operator)argument' syntax. Here, 'fieldname' is one of the resource fields (e.g. name, type, status, etc.), and 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). Multiple filters are ANDed. For example, 'name(eq)test-resource'. This will only take effect if resources are backed up, as controlled by the 'includeResources' option.
    • getCredentialFilter

      public List<String> getCredentialFilter()
      Getter for credentialFilter. Filter credentials for backup using 'fieldname(operator)argument' syntax. Here, 'fieldname' is one of the credential fields (e.g. name, type, etc.), and 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). Multiple filters are ANDed. For example, 'name(eq)test-credential'. This will only take effect if credentials are backed up, as controlled by the 'includeCredentials' option.
    • setCredentialFilter

      public void setCredentialFilter(List<String> credentialFilter)
      Setter for credentialFilter. Filter credentials for backup using 'fieldname(operator)argument' syntax. Here, 'fieldname' is one of the credential fields (e.g. name, type, etc.), and 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). Multiple filters are ANDed. For example, 'name(eq)test-credential'. This will only take effect if credentials are backed up, as controlled by the 'includeCredentials' option.
    • getValidateArchive

      public Boolean getValidateArchive()
      Getter for validateArchive. Whether to validate backup archive. By default, backup archive is not validated.
    • setValidateArchive

      public void setValidateArchive(Boolean validateArchive)
      Setter for validateArchive. Whether to validate backup archive. By default, backup archive is not validated.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object