Class CreatePolicyRequest
java.lang.Object
com.cloudera.cdp.replicationmanager.model.CreatePolicyRequest
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2025-10-28T14:00:31.692-07:00")
public class CreatePolicyRequest
extends Object
Create a replication policy.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGetter for clusterCrn.Getter for policyDefinition.Getter for policyName.inthashCode()voidsetClusterCrn(String clusterCrn) Setter for clusterCrn.voidsetPolicyDefinition(PolicyDefinition policyDefinition) Setter for policyDefinition.voidsetPolicyName(String policyName) Setter for policyName.toString()
-
Constructor Details
-
CreatePolicyRequest
public CreatePolicyRequest()
-
-
Method Details
-
getClusterCrn
Getter for clusterCrn. CRN of the cluster where the policy will be created. -
setClusterCrn
Setter for clusterCrn. CRN of the cluster where the policy will be created. -
getPolicyName
Getter for policyName. Name of the new policy. -
setPolicyName
Setter for policyName. Name of the new policy. -
getPolicyDefinition
Getter for policyDefinition. Policy definition. -
setPolicyDefinition
Setter for policyDefinition. Policy definition. -
equals
-
hashCode
public int hashCode() -
toString
-