public class NetAppModifyClusterSnapmirrorPolicyRuleConfig
extends java.lang.Object
Modify a rule from cluster snapmirror policy
This task will modify a rule from the snapmirror policy.
Modifier | Constructor and Description |
---|---|
protected |
NetAppModifyClusterSnapmirrorPolicyRuleConfig() |
|
NetAppModifyClusterSnapmirrorPolicyRuleConfig(CuicServer server) |
Modifier and Type | Method and Description |
---|---|
NetAppModifyClusterSnapmirrorPolicyRuleConfigResponse |
execute() |
CuicServer |
getCuicServer() |
java.lang.String |
getKeep() |
java.lang.String |
getRule() |
java.lang.String |
getWarn() |
boolean |
isPreserve() |
void |
setCuicServer(CuicServer api) |
void |
setKeep(java.lang.String keep)
Specifies the snapshot copy retention count.
|
void |
setPreserve(boolean preserve)
Specifies whether snapshot copy preserv enabled.
|
void |
setRule(java.lang.String rule)
Select policy rule to modify.
|
void |
setWarn(java.lang.String warn)
Specifies the warning threshold count.
|
protected NetAppModifyClusterSnapmirrorPolicyRuleConfig()
public NetAppModifyClusterSnapmirrorPolicyRuleConfig(CuicServer server)
public void setCuicServer(CuicServer api)
public CuicServer getCuicServer()
public java.lang.String getRule()
public java.lang.String getKeep()
public boolean isPreserve()
public java.lang.String getWarn()
public void setRule(java.lang.String rule)
public void setKeep(java.lang.String keep)
public void setPreserve(boolean preserve)
public void setWarn(java.lang.String warn)
public NetAppModifyClusterSnapmirrorPolicyRuleConfigResponse execute() throws java.lang.Exception
java.lang.Exception