public class NetAppCreateClusterSnapshotPolicyConfig
extends java.lang.Object
Creates Snapshot Policy
This task will create snapshot policy for selected Vserver in the specfied name and also adds one schedule to the created policy.
Modifier | Constructor and Description |
---|---|
protected |
NetAppCreateClusterSnapshotPolicyConfig() |
|
NetAppCreateClusterSnapshotPolicyConfig(CuicServer server) |
Modifier and Type | Method and Description |
---|---|
NetAppCreateClusterSnapshotPolicyConfigResponse |
execute() |
java.lang.String |
getCount1() |
CuicServer |
getCuicServer() |
java.lang.String |
getFilerName() |
java.lang.String |
getPolicyName() |
java.lang.String |
getSchedule1() |
java.lang.String |
getSnapmirrorlabel1() |
java.lang.String |
getSnapPrefix1() |
java.lang.String |
getvServer() |
boolean |
isEnabled() |
void |
setCount1(java.lang.String count1)
Enter number of snapshots to be retained for the schedule
|
void |
setCuicServer(CuicServer api) |
void |
setEnabled(boolean enabled)
Select if you want to enable the policy
|
void |
setFilerName(java.lang.String filerName)
Select Filer on which snapshot policy to be created.
|
void |
setPolicyName(java.lang.String policyName)
Enter snapshot policy name Accepts value from list type
netappClusterSnapshotPolicyName
|
void |
setSchedule1(java.lang.String schedule1)
Select cron job or interval schedule to be added to policy Accepts value
from list type netappClusterJobScheduleList
|
void |
setSnapmirrorlabel1(java.lang.String snapmirrorlabel1)
Enter Snapmirror label text
|
void |
setSnapPrefix1(java.lang.String snapPrefix1)
Enter prefix text to be included in the created snapshot names
|
void |
setvServer(java.lang.String vServer)
Select Vserver Name Accepts value from list type
netappClusterVServerIdentity
|
protected NetAppCreateClusterSnapshotPolicyConfig()
public NetAppCreateClusterSnapshotPolicyConfig(CuicServer server)
public void setCuicServer(CuicServer api)
public CuicServer getCuicServer()
public java.lang.String getFilerName()
public java.lang.String getvServer()
public java.lang.String getPolicyName()
public java.lang.String getSchedule1()
public java.lang.String getCount1()
public java.lang.String getSnapmirrorlabel1()
public java.lang.String getSnapPrefix1()
public boolean isEnabled()
public void setFilerName(java.lang.String filerName)
public void setvServer(java.lang.String vServer)
public void setPolicyName(java.lang.String policyName)
public void setSchedule1(java.lang.String schedule1)
public void setCount1(java.lang.String count1)
public void setSnapmirrorlabel1(java.lang.String snapmirrorlabel1)
public void setSnapPrefix1(java.lang.String snapPrefix1)
public void setEnabled(boolean enabled)
public NetAppCreateClusterSnapshotPolicyConfigResponse execute() throws java.lang.Exception
java.lang.Exception