Class HbasePolicyDefinition
java.lang.Object
com.cloudera.cdp.replicationmanager.model.HbasePolicyDefinition
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2025-10-28T14:00:31.692-07:00")
public class HbasePolicyDefinition
extends Object
HBase policy definition.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGetter 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.inthashCode()voidsetDescription(String description) Setter for description.voidsetDistcpMaxMaps(Long distcpMaxMaps) Setter for distcpMaxMaps.voidsetHbasePolicyArguments(HbasePolicyArguments hbasePolicyArguments) Setter for hbasePolicyArguments.voidsetInitialSnapshot(Boolean initialSnapshot) Setter for initialSnapshot.voidsetMachineUser(MachineUser machineUser) Setter for machineUser.voidsetQueueName(String queueName) Setter for queueName.voidsetSourceCluster(String sourceCluster) Setter for sourceCluster.voidsetSourceRestartType(String sourceRestartType) Setter for sourceRestartType.voidsetTargetCluster(String targetCluster) Setter for targetCluster.voidsetTargetRestartType(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
-