public class SnapshotSessionCreateParam
extends java.lang.Object
Constructor and Description |
---|
SnapshotSessionCreateParam()
Default constructor.
|
SnapshotSessionCreateParam(java.lang.String name,
SnapshotSessionNewTargetsParam newLinkedTargets)
Constructor.
|
SnapshotSessionCreateParam(java.lang.String name,
SnapshotSessionNewTargetsParam newLinkedTargets,
java.util.List<java.net.URI> volumes)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the snapshot session name.
|
SnapshotSessionNewTargetsParam |
getNewLinkedTargets()
Gets the new targets parameter specifying info about new target volumes
to be created and linked to the newly created block snapshot session.
|
java.util.List<java.net.URI> |
getVolumes() |
void |
setName(java.lang.String name)
Set the snapshot session name.
|
void |
setNewLinkedTargets(SnapshotSessionNewTargetsParam newLinkedTargets)
Sets the new targets parameter specifying info about new target volumes
to be created and linked to the newly created block snapshot session.
|
void |
setVolumes(java.util.List<java.net.URI> volumes) |
public SnapshotSessionCreateParam()
public SnapshotSessionCreateParam(java.lang.String name, SnapshotSessionNewTargetsParam newLinkedTargets)
name
- The name for the snapshot session.newLinkedTargets
- A reference to the linked target information.public SnapshotSessionCreateParam(java.lang.String name, SnapshotSessionNewTargetsParam newLinkedTargets, java.util.List<java.net.URI> volumes)
name
- The name for the snapshot session.newLinkedTargets
- A reference to the linked target information.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The snapshot session name.public SnapshotSessionNewTargetsParam getNewLinkedTargets()
public void setNewLinkedTargets(SnapshotSessionNewTargetsParam newLinkedTargets)
newLinkedTargets
- The new targets parameter specifying info about new
target volumes to be created and linked to the newly created
block snapshot session.public java.util.List<java.net.URI> getVolumes()
public void setVolumes(java.util.List<java.net.URI> volumes)