Class Policy
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for creationTime.Getter for customProperties.Getter for description.Getter for endTime.Getter for executionType.Getter for frequency.getJobs()
Getter for jobs.getName()
Getter for name.Getter for nextRun.Getter for plugins.Getter for policyId.Getter for report.Getter for sourceCluster.Getter for sourceClusterCrn.Getter for sourceDataset.Getter for startTime.Getter for status.Getter for target.Getter for targetCluster.Getter for targetClusterCrn.Getter for targetDataset.getType()
Getter for type.int
hashCode()
void
setCreationTime
(ZonedDateTime creationTime) Setter for creationTime.void
setCustomProperties
(Map<String, String> customProperties) Setter for customProperties.void
setDescription
(String description) Setter for description.void
setEndTime
(ZonedDateTime endTime) Setter for endTime.void
setExecutionType
(String executionType) Setter for executionType.void
setFrequency
(Long frequency) Setter for frequency.void
setJobs
(List<PolicyInstanceResponse> jobs) Setter for jobs.void
Setter for name.void
setNextRun
(String nextRun) Setter for nextRun.void
setPlugins
(List<String> plugins) Setter for plugins.void
setPolicyId
(String policyId) Setter for policyId.void
setReport
(PolicyReport report) Setter for report.void
setSourceCluster
(String sourceCluster) Setter for sourceCluster.void
setSourceClusterCrn
(String sourceClusterCrn) Setter for sourceClusterCrn.void
setSourceDataset
(List<String> sourceDataset) Setter for sourceDataset.void
setStartTime
(ZonedDateTime startTime) Setter for startTime.void
Setter for status.void
setTarget
(TargetDetails target) Setter for target.void
setTargetCluster
(String targetCluster) Setter for targetCluster.void
setTargetClusterCrn
(String targetClusterCrn) Setter for targetClusterCrn.void
setTargetDataset
(List<String> targetDataset) Setter for targetDataset.void
Setter for type.toString()
-
Constructor Details
-
Policy
public Policy()
-
-
Method Details
-
getPolicyId
Getter for policyId. Policy id. -
setPolicyId
Setter for policyId. Policy id. -
getName
Getter for name. Policy name. -
setName
Setter for name. Policy name. -
getType
Getter for type. Policy type. -
setType
Setter for type. Policy type. -
getStatus
Getter for status. Current status of the policy. -
setStatus
Setter for status. Current status of the policy. -
getFrequency
Getter for frequency. Frequency in seconds when the policy runs. -
setFrequency
Setter for frequency. Frequency in seconds when the policy runs. -
getEndTime
Getter for endTime. End time of policy run or when it repeats. -
setEndTime
Setter for endTime. End time of policy run or when it repeats. -
getJobs
Getter for jobs. List of policy runs. -
setJobs
Setter for jobs. List of policy runs. -
getReport
Getter for report. Policy report. -
setReport
Setter for report. Policy report. -
getDescription
Getter for description. Policy description. -
setDescription
Setter for description. Policy description. -
getExecutionType
Getter for executionType. Policy execution type. -
setExecutionType
Setter for executionType. Policy execution type. -
getSourceDataset
Getter for sourceDataset. Source dataset of replication. -
setSourceDataset
Setter for sourceDataset. Source dataset of replication. -
getTargetDataset
Getter for targetDataset. Target dataset of replication. -
setTargetDataset
Setter for targetDataset. Target dataset of replication. -
getCreationTime
Getter for creationTime. Policy creation time. -
setCreationTime
Setter for creationTime. Policy creation time. -
getStartTime
Getter for startTime. Policy start time. -
setStartTime
Setter for startTime. Policy start time. -
getSourceCluster
Getter for sourceCluster. Source cluster of replication. -
setSourceCluster
Setter for sourceCluster. Source cluster of replication. -
getSourceClusterCrn
Getter for sourceClusterCrn. CRN of the source cluster. -
setSourceClusterCrn
Setter for sourceClusterCrn. CRN of the source cluster. -
getTargetCluster
Getter for targetCluster. Target cluster of replication if not cloud. -
setTargetCluster
Setter for targetCluster. Target cluster of replication if not cloud. -
getTargetClusterCrn
Getter for targetClusterCrn. CRN of the target cluster. -
setTargetClusterCrn
Setter for targetClusterCrn. CRN of the target cluster. -
getCustomProperties
Getter for customProperties. Custom replication properties. -
setCustomProperties
Setter for customProperties. Custom replication properties. -
getPlugins
Getter for plugins. Plugins. -
setPlugins
Setter for plugins. Plugins. -
getNextRun
Getter for nextRun. Next expected run of the policy. -
setNextRun
Setter for nextRun. Next expected run of the policy. -
getTarget
Getter for target. Replication target details. -
setTarget
Setter for target. Replication target details. -
equals
-
hashCode
public int hashCode() -
toString
-