public class SnapMirrorPolicy
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SnapMirrorPolicy.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
SnapMirrorPolicy() |
SnapMirrorPolicy(java.lang.Long snapMirrorEndpointID,
java.lang.String policyName,
java.lang.String policyType,
java.lang.String comment,
java.lang.String transferPriority,
SnapMirrorPolicyRule[] policyRules,
java.lang.Long totalKeepCount,
java.lang.Long totalRules,
java.lang.String vserverName) |
Modifier and Type | Method and Description |
---|---|
SnapMirrorPolicy.Builder |
asBuilder() |
static SnapMirrorPolicy.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getComment()
A human-readable description associated with the SnapMirror policy.
|
java.lang.String |
getPolicyName()
The unique name assigned to the policy.
|
SnapMirrorPolicyRule[] |
getPolicyRules()
A list of objects describing the policy rules.
|
java.lang.String |
getPolicyType()
The type of policy.
|
java.lang.Long |
getSnapMirrorEndpointID()
The ID of the destination ONTAP system.
|
java.lang.Long |
getTotalKeepCount()
The total retention count for all rules in the policy.
|
java.lang.Long |
getTotalRules()
The total number of rules in the policy.
|
java.lang.String |
getTransferPriority()
The priority at which a SnapMirror transfer runs.
|
java.lang.String |
getVserverName()
The name of the Vserver for the SnapMirror policy.
|
int |
hashCode() |
void |
setComment(java.lang.String comment) |
void |
setPolicyName(java.lang.String policyName) |
void |
setPolicyRules(SnapMirrorPolicyRule[] policyRules) |
void |
setPolicyType(java.lang.String policyType) |
void |
setSnapMirrorEndpointID(java.lang.Long snapMirrorEndpointID) |
void |
setTotalKeepCount(java.lang.Long totalKeepCount) |
void |
setTotalRules(java.lang.Long totalRules) |
void |
setTransferPriority(java.lang.String transferPriority) |
void |
setVserverName(java.lang.String vserverName) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="10.0") public SnapMirrorPolicy(java.lang.Long snapMirrorEndpointID, java.lang.String policyName, java.lang.String policyType, java.lang.String comment, java.lang.String transferPriority, SnapMirrorPolicyRule[] policyRules, java.lang.Long totalKeepCount, java.lang.Long totalRules, java.lang.String vserverName)
public java.lang.Long getSnapMirrorEndpointID()
public void setSnapMirrorEndpointID(java.lang.Long snapMirrorEndpointID)
public java.lang.String getPolicyName()
public void setPolicyName(java.lang.String policyName)
public java.lang.String getPolicyType()
public void setPolicyType(java.lang.String policyType)
public java.lang.String getComment()
public void setComment(java.lang.String comment)
public java.lang.String getTransferPriority()
public void setTransferPriority(java.lang.String transferPriority)
public SnapMirrorPolicyRule[] getPolicyRules()
public void setPolicyRules(SnapMirrorPolicyRule[] policyRules)
public java.lang.Long getTotalKeepCount()
public void setTotalKeepCount(java.lang.Long totalKeepCount)
public java.lang.Long getTotalRules()
public void setTotalRules(java.lang.Long totalRules)
public java.lang.String getVserverName()
public void setVserverName(java.lang.String vserverName)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static SnapMirrorPolicy.Builder builder()
public final SnapMirrorPolicy.Builder asBuilder()