public static final class ProtectionGroupInfo.Builder
extends java.lang.Object
ProtectionGroupInfo.| Constructor and Description |
|---|
Builder(java.lang.String name,
ProtectionGroupStatus status,
TargetEntities targetEntities,
java.util.List<SnapshotPolicy> snapshotPolicies,
java.util.Set<java.lang.String> vms,
java.util.Set<java.lang.String> snapshots,
boolean locked)
Constructor with parameters for the required properties of
ProtectionGroupInfo. |
| Modifier and Type | Method and Description |
|---|---|
ProtectionGroupInfo |
build() |
ProtectionGroupInfo.Builder |
setLastSnapshotTime(java.util.Calendar lastSnapshotTime)
Time at which the last protection group snapshot was taken.
|
ProtectionGroupInfo.Builder |
setOldestSnapshotTime(java.util.Calendar oldestSnapshotTime)
Time at which the current oldest protection group snapshot was taken.
|
public Builder(java.lang.String name,
ProtectionGroupStatus status,
TargetEntities targetEntities,
java.util.List<SnapshotPolicy> snapshotPolicies,
java.util.Set<java.lang.String> vms,
java.util.Set<java.lang.String> snapshots,
boolean locked)
ProtectionGroupInfo.public ProtectionGroupInfo.Builder setLastSnapshotTime(java.util.Calendar lastSnapshotTime)
null if there are no snapshots taken for the protection group.lastSnapshotTime - New value for the property.public ProtectionGroupInfo.Builder setOldestSnapshotTime(java.util.Calendar oldestSnapshotTime)
null if there are no snapshots taken for the protection group.oldestSnapshotTime - New value for the property.public ProtectionGroupInfo build()