Class CreatePolicyRequest

java.lang.Object
com.cloudera.cdp.replicationmanager.model.CreatePolicyRequest

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:29.297-07:00") public class CreatePolicyRequest extends Object
Create a replication policy.
  • Constructor Details

    • CreatePolicyRequest

      public CreatePolicyRequest()
  • Method Details

    • getClusterCrn

      public String getClusterCrn()
      Getter for clusterCrn. CRN of the cluster where the policy will be created.
    • setClusterCrn

      public void setClusterCrn(String clusterCrn)
      Setter for clusterCrn. CRN of the cluster where the policy will be created.
    • getPolicyName

      public String getPolicyName()
      Getter for policyName. Name of the new policy.
    • setPolicyName

      public void setPolicyName(String policyName)
      Setter for policyName. Name of the new policy.
    • getPolicyDefinition

      public PolicyDefinition getPolicyDefinition()
      Getter for policyDefinition. Policy definition.
    • setPolicyDefinition

      public void setPolicyDefinition(PolicyDefinition policyDefinition)
      Setter for policyDefinition. Policy definition.
    • 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