Class CreatePolicyRequest


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2024-03-13T13:08:49.412-07:00")
    public class CreatePolicyRequest
    extends Object
    Create a replication policy.
    • Constructor Detail

      • CreatePolicyRequest

        public CreatePolicyRequest()
    • Method Detail

      • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object