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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for clusterCrn.Getter for policyDefinition.Getter for policyName.int
hashCode()
void
setClusterCrn
(String clusterCrn) Setter for clusterCrn.void
setPolicyDefinition
(PolicyDefinition policyDefinition) Setter for policyDefinition.void
setPolicyName
(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
-