Class HbasePolicyDefinition
java.lang.Object
com.cloudera.cdp.replicationmanager.model.HbasePolicyDefinition
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2025-01-23T07:12:43.267-08:00")
public class HbasePolicyDefinition
extends Object
HBase policy definition.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for description.Getter for distcpMaxMaps.Getter for hbasePolicyArguments.Getter for initialSnapshot.Getter for machineUser.Getter for queueName.Getter for sourceCluster.Getter for sourceRestartType.Getter for targetCluster.Getter for targetRestartType.int
hashCode()
void
setDescription
(String description) Setter for description.void
setDistcpMaxMaps
(Long distcpMaxMaps) Setter for distcpMaxMaps.void
setHbasePolicyArguments
(HbasePolicyArguments hbasePolicyArguments) Setter for hbasePolicyArguments.void
setInitialSnapshot
(Boolean initialSnapshot) Setter for initialSnapshot.void
setMachineUser
(MachineUser machineUser) Setter for machineUser.void
setQueueName
(String queueName) Setter for queueName.void
setSourceCluster
(String sourceCluster) Setter for sourceCluster.void
setSourceRestartType
(String sourceRestartType) Setter for sourceRestartType.void
setTargetCluster
(String targetCluster) Setter for targetCluster.void
setTargetRestartType
(String targetRestartType) Setter for targetRestartType.toString()
-
Constructor Details
-
HbasePolicyDefinition
public HbasePolicyDefinition()
-
-
Method Details
-
getHbasePolicyArguments
Getter for hbasePolicyArguments. HBase policy arguments. -
setHbasePolicyArguments
Setter for hbasePolicyArguments. HBase policy arguments. -
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\". -
getInitialSnapshot
Getter for initialSnapshot. If set to true, the current data in the table will be replicated before the HBase replication peer gets enabled. If set to false, only the data changed after the policy creation will be replicated. -
setInitialSnapshot
Setter for initialSnapshot. If set to true, the current data in the table will be replicated before the HBase replication peer gets enabled. If set to false, only the data changed after the policy creation will be replicated. -
getDescription
Getter for description. Description of the policy. -
setDescription
Setter for description. Description of the policy. -
getMachineUser
Getter for machineUser. Machine user details to use for the replication. If not specified, an internal machine user will be created and synchronized to the required environments. -
setMachineUser
Setter for machineUser. Machine user details to use for the replication. If not specified, an internal machine user will be created and synchronized to the required environments. -
getQueueName
Getter for queueName. YARN queue name to use for initial snapshot if not default. -
setQueueName
Setter for queueName. YARN queue name to use for initial snapshot if not default. -
getDistcpMaxMaps
Getter for distcpMaxMaps. Maximum Map jobs to use for initial snapshot. -
setDistcpMaxMaps
Setter for distcpMaxMaps. Maximum Map jobs to use for initial snapshot. -
getSourceRestartType
Getter for sourceRestartType. Type of restart for the source cluster. This is only accepted if the source is not a Classic Cluster and the destination has restart-type support. Default is ROLLING_RESTART. -
setSourceRestartType
Setter for sourceRestartType. Type of restart for the source cluster. This is only accepted if the source is not a Classic Cluster and the destination has restart-type support. Default is ROLLING_RESTART. -
getTargetRestartType
Getter for targetRestartType. Type of restart for the destination cluster. This is only accepted if the cluster has restart-type support. Default is ROLLING_RESTART. -
setTargetRestartType
Setter for targetRestartType. Type of restart for the destination cluster. This is only accepted if the cluster has restart-type support. Default is ROLLING_RESTART. -
equals
-
hashCode
public int hashCode() -
toString
-