![JAR search and dependency download from the Maven repository](/logo.png)
com.nutanix.dp1.dat.dataprotection.v4.config.RecoveryPoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dataprotection-java-client Show documentation
Show all versions of dataprotection-java-client Show documentation
Business Continuity with full spectrum of Disaster Recovery and Backup solution. Spanning across Single PC, Cross AZ, MultiSite. Configuration of Recovery points, Protection policies, Recovery Plans. Execution and monitoring of back up and recovery orchestrations on OnPrem as well as Cloud.
/*
* Generated file ..
*
* Product version: 4.0.1-beta-1
*
* Part of the Nutanix Dataprotection Versioned APIs
*
* (c) 2024 Nutanix Inc. All rights reserved
*
*/
package com.nutanix.dp1.dat.dataprotection.v4.config;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.AccessLevel;
import com.nutanix.devplatform.models.PrettyModeViews.*;
import com.fasterxml.jackson.annotation.JsonView;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.stream.Collectors;
import com.nutanix.dp1.dat.deserializers.DatObjectTypeTypedObject;
import javax.validation.constraints.*;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
import static com.nutanix.dp1.dat.deserializers.DatDeserializerUtils.*;
/**
* Details about the recovery point along with all the captured VM and volume group recovery point(s).
*/
@EqualsAndHashCode(callSuper=true)
@Data
@lombok.extern.slf4j.Slf4j
public class RecoveryPoint extends com.nutanix.dp1.dat.dataprotection.v4.common.BaseRecoveryPoint implements java.io.Serializable, DatObjectTypeTypedObject {
public RecoveryPoint() {
super();
}
@lombok.Builder(builderMethodName = "RecoveryPointBuilder")
public RecoveryPoint(String tenantId, String extId, java.util.List links, String locationAgnosticId, String name, java.time.OffsetDateTime creationTime, java.time.OffsetDateTime expirationTime, com.nutanix.dp1.dat.dataprotection.v4.common.RecoveryPointStatus status, com.nutanix.dp1.dat.dataprotection.v4.common.RecoveryPointType recoveryPointType, String ownerExtId, java.util.List locationReferences, java.util.List vmRecoveryPoints, java.util.List volumeGroupRecoveryPoints) {
super(tenantId, extId, links, locationAgnosticId, name, creationTime, expirationTime, status, recoveryPointType);
this.setOwnerExtId(ownerExtId);
this.setLocationReferences(locationReferences);
this.setVmRecoveryPoints(vmRecoveryPoints);
this.setVolumeGroupRecoveryPoints(volumeGroupRecoveryPoints);
}
@Override
protected String initialize$objectType() {
return "dataprotection.v4.config.RecoveryPoint";
}
@Override
protected String initialize$fv() {
return "v4.r0.b1";
}
@javax.validation.constraints.Pattern(regexp="^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$")
private String ownerExtId = null;
/**
* A read only field inserted into recovery point at the time of recovery point creation, indicating the external identifier of the user who created this recovery point.
*/
public void setOwnerExtId(String ownerExtId) {
if (this.ownerExtId == null) {
this.ownerExtId = ownerExtId;
}
else {
log.warn("Read-only property ownerExtId already contains a non-null value and cannot be set again");
}
}
private List locationReferences = null;
/**
* List of location references where the VM or volume group recovery point are a part of the specified recovery point.
*/
public void setLocationReferences(List locationReferences) {
if (this.locationReferences == null) {
this.locationReferences = locationReferences;
}
else {
log.warn("Read-only property locationReferences already contains a non-null value and cannot be set again");
}
}
/**
* List of VM recovery point that are a part of the specified top-level recovery point. Note that a recovery point can contain a maximum number of 30 entities. These entities can be a combination of VM(s) and volume group(s).
*/
@javax.validation.constraints.Size(min = 1, max = 30)
@JsonProperty("vmRecoveryPoints")
public List vmRecoveryPoints = null;
/**
* List of volume group recovery point that are a part of the specified top-level recovery point. Note that a recovery point can contain a maximum number of 30 entities. These entities can be a combination of VM(s) and volume group(s).
*/
@javax.validation.constraints.Size(min = 1, max = 30)
@JsonProperty("volumeGroupRecoveryPoints")
public List volumeGroupRecoveryPoints = null;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy