![JAR search and dependency download from the Maven repository](/logo.png)
com.nutanix.dp1.dat.dataprotection.v4.config.ConsistencyGroup 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.util.ArrayList;
import java.util.List;
import static com.nutanix.dp1.dat.deserializers.DatDeserializerUtils.*;
/**
* There are many scenarios where the state of an application must be captured as an aggregate of the internal state of a set of related entities at some point in time. The Consistency group is a collection of all the entities whose snapshot represents the application state at that point in time
*/
@EqualsAndHashCode(callSuper=true)
@Data
@lombok.extern.slf4j.Slf4j
public class ConsistencyGroup extends com.nutanix.dp1.dat.common.v1.response.ExternalizableAbstractModel implements java.io.Serializable, DatObjectTypeTypedObject {
public ConsistencyGroup() {
super();
}
@lombok.Builder(builderMethodName = "ConsistencyGroupBuilder")
public ConsistencyGroup(String tenantId, String extId, java.util.List links, String name, String ownerExtId, java.util.List members, String clusterExtId, String protectionPolicyExtId) {
super(tenantId, extId, links);
this.setName(name);
this.setOwnerExtId(ownerExtId);
this.setMembers(members);
this.setClusterExtId(clusterExtId);
this.setProtectionPolicyExtId(protectionPolicyExtId);
}
@Override
protected String initialize$objectType() {
return "dataprotection.v4.config.ConsistencyGroup";
}
@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;
/**
* The external identifier of the user who created this Consistency group. This is a read-only field that is inserted into the Consistency group entity at the time of Consistency group creation.
*/
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");
}
}
@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 clusterExtId = null;
/**
* The external identifier of the cluster to which the entities from the Consistency group are associated.
*/
public void setClusterExtId(String clusterExtId) {
if (this.clusterExtId == null) {
this.clusterExtId = clusterExtId;
}
else {
log.warn("Read-only property clusterExtId already contains a non-null value and cannot be set again");
}
}
@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 protectionPolicyExtId = null;
/**
* The external identifier of the Protection policy that protects the Consistency group.
*/
public void setProtectionPolicyExtId(String protectionPolicyExtId) {
if (this.protectionPolicyExtId == null) {
this.protectionPolicyExtId = protectionPolicyExtId;
}
else {
log.warn("Read-only property protectionPolicyExtId already contains a non-null value and cannot be set again");
}
}
/**
* Name of the Consistency group.
*/
@javax.validation.constraints.Size(max = 256)
@JsonProperty("name")
public String name = null;
/**
*
*/
@javax.validation.constraints.Size(min = 1, max = 30)
@JsonProperty("members")
public List members = null;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy