Class PolicyDefinition
java.lang.Object
com.cloudera.cdp.replicationmanager.model.PolicyDefinition
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2024-09-27T08:40:29.297-07:00")
public class PolicyDefinition
extends Object
Policy creation request definition.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for cloudCredential.Getter for cloudEncryptionAlgorithm.Getter for cloudEncryptionKey.Getter for cmPolicySubmitUser.Getter for description.Getter for distcpMapBandwidth.Getter for distcpMaxMaps.Getter for enableSnapshotBasedReplication.Getter for endTime.Getter for frequencyInSec.Getter for hiveExternalTableBaseDirectory.getName()
Getter for name.Getter for plugins.Getter for queueName.Getter for sourceCluster.Getter for sourceDataset.Getter for startTime.Getter for targetCluster.Getter for targetDataset.Getter for tdeSameKey.getType()
Getter for type.int
hashCode()
void
setCloudCredential
(String cloudCredential) Setter for cloudCredential.void
setCloudEncryptionAlgorithm
(String cloudEncryptionAlgorithm) Setter for cloudEncryptionAlgorithm.void
setCloudEncryptionKey
(String cloudEncryptionKey) Setter for cloudEncryptionKey.void
setCmPolicySubmitUser
(CmPolicySubmitUser cmPolicySubmitUser) Setter for cmPolicySubmitUser.void
setDescription
(String description) Setter for description.void
setDistcpMapBandwidth
(Long distcpMapBandwidth) Setter for distcpMapBandwidth.void
setDistcpMaxMaps
(Long distcpMaxMaps) Setter for distcpMaxMaps.void
setEnableSnapshotBasedReplication
(Boolean enableSnapshotBasedReplication) Setter for enableSnapshotBasedReplication.void
setEndTime
(ZonedDateTime endTime) Setter for endTime.void
setFrequencyInSec
(Long frequencyInSec) Setter for frequencyInSec.void
setHiveExternalTableBaseDirectory
(String hiveExternalTableBaseDirectory) Setter for hiveExternalTableBaseDirectory.void
Setter for name.void
setPlugins
(List<String> plugins) Setter for plugins.void
setQueueName
(String queueName) Setter for queueName.void
setSourceCluster
(String sourceCluster) Setter for sourceCluster.void
setSourceDataset
(SourceDataset sourceDataset) Setter for sourceDataset.void
setStartTime
(ZonedDateTime startTime) Setter for startTime.void
setTargetCluster
(String targetCluster) Setter for targetCluster.void
setTargetDataset
(String targetDataset) Setter for targetDataset.void
setTdeSameKey
(Boolean tdeSameKey) Setter for tdeSameKey.void
Setter for type.toString()
-
Constructor Details
-
PolicyDefinition
public PolicyDefinition()
-
-
Method Details
-
getName
Getter for name. Name of the new policy. -
setName
Setter for name. Name of the new policy. -
getType
Getter for type. Policy replication type. -
setType
Setter for type. Policy replication type. -
getSourceDataset
Getter for sourceDataset. Source dataset to replicate. -
setSourceDataset
Setter for sourceDataset. Source dataset to replicate. -
getFrequencyInSec
Getter for frequencyInSec. Policy's frequency in seconds. -
setFrequencyInSec
Setter for frequencyInSec. Policy's frequency in seconds. -
getTargetDataset
Getter for targetDataset. Dataset to replicate to. -
setTargetDataset
Setter for targetDataset. Dataset to replicate to. -
getCloudCredential
Getter for cloudCredential. Cloud credentials to use if replicating to Cloud. -
setCloudCredential
Setter for cloudCredential. Cloud credentials to use if replicating to Cloud. -
getSourceCluster
Getter for sourceCluster. Name of source cluster in the format: \"dataCenterName$cluster name\", for example \"DC-Europe$My Source 42. -
setSourceCluster
Setter for sourceCluster. Name of source cluster in the format: \"dataCenterName$cluster name\", for example \"DC-Europe$My Source 42. -
getTargetCluster
Getter for targetCluster. Name of destination cluster in the format: \"dataCenterName$cluster name\", for example \"DC-US$My Destination 17\". -
setTargetCluster
Setter for targetCluster. Name of destination cluster in the format: \"dataCenterName$cluster name\", for example \"DC-US$My Destination 17\". -
getStartTime
Getter for startTime. Start time. -
setStartTime
Setter for startTime. Start time. -
getEndTime
Getter for endTime. End time. -
setEndTime
Setter for endTime. End time. -
getDistcpMaxMaps
Getter for distcpMaxMaps. Maximum Map jobs to use for replication. -
setDistcpMaxMaps
Setter for distcpMaxMaps. Maximum Map jobs to use for replication. -
getDistcpMapBandwidth
Getter for distcpMapBandwidth. Maximum bandwidth to use for replication. -
setDistcpMapBandwidth
Setter for distcpMapBandwidth. Maximum bandwidth to use for replication. -
getQueueName
Getter for queueName. YARN queue name if not default. -
setQueueName
Setter for queueName. YARN queue name if not default. -
getTdeSameKey
Getter for tdeSameKey. TDE same key. -
setTdeSameKey
Setter for tdeSameKey. TDE same key. -
getDescription
Getter for description. Description of the policy. -
setDescription
Setter for description. Description of the policy. -
getEnableSnapshotBasedReplication
Getter for enableSnapshotBasedReplication. Enable snapshot based replication. -
setEnableSnapshotBasedReplication
Setter for enableSnapshotBasedReplication. Enable snapshot based replication. -
getCloudEncryptionAlgorithm
Getter for cloudEncryptionAlgorithm. The type of cloud encryption algorithm. Can be used only for HDP/Ambari managed clusters. Supported values are AES256,SSE-KMS. -
setCloudEncryptionAlgorithm
Setter for cloudEncryptionAlgorithm. The type of cloud encryption algorithm. Can be used only for HDP/Ambari managed clusters. Supported values are AES256,SSE-KMS. -
getCloudEncryptionKey
Getter for cloudEncryptionKey. Cloud encryption key. -
setCloudEncryptionKey
Setter for cloudEncryptionKey. Cloud encryption key. -
getPlugins
Getter for plugins. Plugins. -
setPlugins
Setter for plugins. Plugins. -
getHiveExternalTableBaseDirectory
Getter for hiveExternalTableBaseDirectory. Hive external table base directory. -
setHiveExternalTableBaseDirectory
Setter for hiveExternalTableBaseDirectory. Hive external table base directory. -
getCmPolicySubmitUser
Getter for cmPolicySubmitUser. CM policy submit user. -
setCmPolicySubmitUser
Setter for cmPolicySubmitUser. CM policy submit user. -
equals
-
hashCode
public int hashCode() -
toString
-