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 Details

    • HbasePolicyDefinition

      public HbasePolicyDefinition()
  • Method Details

    • getHbasePolicyArguments

      public HbasePolicyArguments getHbasePolicyArguments()
      Getter for hbasePolicyArguments. HBase policy arguments.
    • setHbasePolicyArguments

      public void setHbasePolicyArguments(HbasePolicyArguments hbasePolicyArguments)
      Setter for hbasePolicyArguments. HBase policy arguments.
    • getSourceCluster

      public String getSourceCluster()
      Getter for sourceCluster. Name of source cluster in the format: \"dataCenterName$cluster name\", for example \"DC-Europe$My Source 42.\"
    • setSourceCluster

      public void setSourceCluster(String sourceCluster)
      Setter for sourceCluster. Name of source cluster in the format: \"dataCenterName$cluster name\", for example \"DC-Europe$My Source 42.\"
    • getTargetCluster

      public String getTargetCluster()
      Getter for targetCluster. Name of destination cluster in the format: \"dataCenterName$cluster name\", for example \"DC-US$My Destination 17\".
    • setTargetCluster

      public void setTargetCluster(String targetCluster)
      Setter for targetCluster. Name of destination cluster in the format: \"dataCenterName$cluster name\", for example \"DC-US$My Destination 17\".
    • getInitialSnapshot

      public Boolean 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

      public void setInitialSnapshot(Boolean initialSnapshot)
      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

      public String getDescription()
      Getter for description. Description of the policy.
    • setDescription

      public void setDescription(String description)
      Setter for description. Description of the policy.
    • getMachineUser

      public MachineUser 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

      public void setMachineUser(MachineUser machineUser)
      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

      public String getQueueName()
      Getter for queueName. YARN queue name to use for initial snapshot if not default.
    • setQueueName

      public void setQueueName(String queueName)
      Setter for queueName. YARN queue name to use for initial snapshot if not default.
    • getDistcpMaxMaps

      public Long getDistcpMaxMaps()
      Getter for distcpMaxMaps. Maximum Map jobs to use for initial snapshot.
    • setDistcpMaxMaps

      public void setDistcpMaxMaps(Long distcpMaxMaps)
      Setter for distcpMaxMaps. Maximum Map jobs to use for initial snapshot.
    • getSourceRestartType

      public String 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

      public void setSourceRestartType(String sourceRestartType)
      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

      public String 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

      public void setTargetRestartType(String targetRestartType)
      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

      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