java.lang.Object
com.cloudera.cdp.replicationmanager.model.Policy

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:29.297-07:00") public class Policy extends Object
Replication policy definition.
  • Constructor Details

    • Policy

      public Policy()
  • Method Details

    • getPolicyId

      public String getPolicyId()
      Getter for policyId. Policy id.
    • setPolicyId

      public void setPolicyId(String policyId)
      Setter for policyId. Policy id.
    • getName

      public String getName()
      Getter for name. Policy name.
    • setName

      public void setName(String name)
      Setter for name. Policy name.
    • getType

      public String getType()
      Getter for type. Policy type.
    • setType

      public void setType(String type)
      Setter for type. Policy type.
    • getStatus

      public String getStatus()
      Getter for status. Current status of the policy.
    • setStatus

      public void setStatus(String status)
      Setter for status. Current status of the policy.
    • getFrequency

      public Long getFrequency()
      Getter for frequency. Frequency in seconds when the policy runs.
    • setFrequency

      public void setFrequency(Long frequency)
      Setter for frequency. Frequency in seconds when the policy runs.
    • getEndTime

      public ZonedDateTime getEndTime()
      Getter for endTime. End time of policy run or when it repeats.
    • setEndTime

      public void setEndTime(ZonedDateTime endTime)
      Setter for endTime. End time of policy run or when it repeats.
    • getJobs

      public List<PolicyInstanceResponse> getJobs()
      Getter for jobs. List of policy runs.
    • setJobs

      public void setJobs(List<PolicyInstanceResponse> jobs)
      Setter for jobs. List of policy runs.
    • getReport

      public PolicyReport getReport()
      Getter for report. Policy report.
    • setReport

      public void setReport(PolicyReport report)
      Setter for report. Policy report.
    • getDescription

      public String getDescription()
      Getter for description. Policy description.
    • setDescription

      public void setDescription(String description)
      Setter for description. Policy description.
    • getExecutionType

      public String getExecutionType()
      Getter for executionType. Policy execution type.
    • setExecutionType

      public void setExecutionType(String executionType)
      Setter for executionType. Policy execution type.
    • getSourceDataset

      public List<String> getSourceDataset()
      Getter for sourceDataset. Source dataset of replication.
    • setSourceDataset

      public void setSourceDataset(List<String> sourceDataset)
      Setter for sourceDataset. Source dataset of replication.
    • getTargetDataset

      public List<String> getTargetDataset()
      Getter for targetDataset. Target dataset of replication.
    • setTargetDataset

      public void setTargetDataset(List<String> targetDataset)
      Setter for targetDataset. Target dataset of replication.
    • getCreationTime

      public ZonedDateTime getCreationTime()
      Getter for creationTime. Policy creation time.
    • setCreationTime

      public void setCreationTime(ZonedDateTime creationTime)
      Setter for creationTime. Policy creation time.
    • getStartTime

      public ZonedDateTime getStartTime()
      Getter for startTime. Policy start time.
    • setStartTime

      public void setStartTime(ZonedDateTime startTime)
      Setter for startTime. Policy start time.
    • getSourceCluster

      public String getSourceCluster()
      Getter for sourceCluster. Source cluster of replication.
    • setSourceCluster

      public void setSourceCluster(String sourceCluster)
      Setter for sourceCluster. Source cluster of replication.
    • getSourceClusterCrn

      public String getSourceClusterCrn()
      Getter for sourceClusterCrn. CRN of the source cluster.
    • setSourceClusterCrn

      public void setSourceClusterCrn(String sourceClusterCrn)
      Setter for sourceClusterCrn. CRN of the source cluster.
    • getTargetCluster

      public String getTargetCluster()
      Getter for targetCluster. Target cluster of replication if not cloud.
    • setTargetCluster

      public void setTargetCluster(String targetCluster)
      Setter for targetCluster. Target cluster of replication if not cloud.
    • getTargetClusterCrn

      public String getTargetClusterCrn()
      Getter for targetClusterCrn. CRN of the target cluster.
    • setTargetClusterCrn

      public void setTargetClusterCrn(String targetClusterCrn)
      Setter for targetClusterCrn. CRN of the target cluster.
    • getCustomProperties

      public Map<String,String> getCustomProperties()
      Getter for customProperties. Custom replication properties.
    • setCustomProperties

      public void setCustomProperties(Map<String,String> customProperties)
      Setter for customProperties. Custom replication properties.
    • getPlugins

      public List<String> getPlugins()
      Getter for plugins. Plugins.
    • setPlugins

      public void setPlugins(List<String> plugins)
      Setter for plugins. Plugins.
    • getNextRun

      public String getNextRun()
      Getter for nextRun. Next expected run of the policy.
    • setNextRun

      public void setNextRun(String nextRun)
      Setter for nextRun. Next expected run of the policy.
    • getTarget

      public TargetDetails getTarget()
      Getter for target. Replication target details.
    • setTarget

      public void setTarget(TargetDetails target)
      Setter for target. Replication target details.
    • 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