public class CreateSnapMirrorRelationshipRequest
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
CreateSnapMirrorRelationshipRequest.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
CreateSnapMirrorRelationshipRequest() |
CreateSnapMirrorRelationshipRequest(java.lang.Long snapMirrorEndpointID,
SnapMirrorVolumeInfo sourceVolume,
SnapMirrorVolumeInfo destinationVolume,
Optional<java.lang.String> relationshipType,
Optional<java.lang.String> policyName,
Optional<java.lang.String> scheduleName,
Optional<java.lang.Long> maxTransferRate) |
Modifier and Type | Method and Description |
---|---|
CreateSnapMirrorRelationshipRequest.Builder |
asBuilder() |
static CreateSnapMirrorRelationshipRequest.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
SnapMirrorVolumeInfo |
getDestinationVolume()
The destination volume in the relationship.
|
Optional<java.lang.Long> |
getMaxTransferRate()
Specifies the maximum data transfer rate
between the volumes in kilobytes per second.
|
Optional<java.lang.String> |
getPolicyName()
Specifies the name of the ONTAP SnapMirror policy for the relationship.
|
Optional<java.lang.String> |
getRelationshipType()
The type of relationship.
|
Optional<java.lang.String> |
getScheduleName()
The name of the preexisting cron schedule on the ONTAP system
that is used to update the SnapMirror relationship.
|
java.lang.Long |
getSnapMirrorEndpointID()
The endpoint ID of the remote ONTAP storage system communicating with the SolidFire cluster.
|
SnapMirrorVolumeInfo |
getSourceVolume()
The source volume in the relationship.
|
int |
hashCode() |
void |
setDestinationVolume(SnapMirrorVolumeInfo destinationVolume) |
void |
setMaxTransferRate(Optional<java.lang.Long> maxTransferRate) |
void |
setPolicyName(Optional<java.lang.String> policyName) |
void |
setRelationshipType(Optional<java.lang.String> relationshipType) |
void |
setScheduleName(Optional<java.lang.String> scheduleName) |
void |
setSnapMirrorEndpointID(java.lang.Long snapMirrorEndpointID) |
void |
setSourceVolume(SnapMirrorVolumeInfo sourceVolume) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public CreateSnapMirrorRelationshipRequest()
@Since(value="10.0") public CreateSnapMirrorRelationshipRequest(java.lang.Long snapMirrorEndpointID, SnapMirrorVolumeInfo sourceVolume, SnapMirrorVolumeInfo destinationVolume, Optional<java.lang.String> relationshipType, Optional<java.lang.String> policyName, Optional<java.lang.String> scheduleName, Optional<java.lang.Long> maxTransferRate)
public java.lang.Long getSnapMirrorEndpointID()
public void setSnapMirrorEndpointID(java.lang.Long snapMirrorEndpointID)
public SnapMirrorVolumeInfo getSourceVolume()
public void setSourceVolume(SnapMirrorVolumeInfo sourceVolume)
public SnapMirrorVolumeInfo getDestinationVolume()
public void setDestinationVolume(SnapMirrorVolumeInfo destinationVolume)
public Optional<java.lang.String> getRelationshipType()
public void setRelationshipType(Optional<java.lang.String> relationshipType)
public Optional<java.lang.String> getPolicyName()
public void setPolicyName(Optional<java.lang.String> policyName)
public Optional<java.lang.String> getScheduleName()
public void setScheduleName(Optional<java.lang.String> scheduleName)
public Optional<java.lang.Long> getMaxTransferRate()
public void setMaxTransferRate(Optional<java.lang.Long> maxTransferRate)
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 CreateSnapMirrorRelationshipRequest.Builder builder()
public final CreateSnapMirrorRelationshipRequest.Builder asBuilder()