All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nutanix.dp1.dat.dataprotection.v4.config.VolumeGroupSyncContext Maven / Gradle / Ivy

/*
 * Generated file ..
 *
 * Product version: 4.0.1
 *
 * Part of the Nutanix Data Protection 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.List;

import static com.nutanix.dp1.dat.deserializers.DatDeserializerUtils.*;


/**
 * Specification corresponding to the volume group synced state. The primary site reference corresponds to the cluster reference information along with the related AZ information where the entity resides. The secondary site reference corresponds to the cluster site reference information along with the related AZ information where the volume group is synced to.
 */
@EqualsAndHashCode(callSuper=true)
@Data
@lombok.extern.slf4j.Slf4j
public class VolumeGroupSyncContext extends com.nutanix.dp1.dat.common.v1.response.ExternalizableAbstractModel implements java.io.Serializable, DatObjectTypeTypedObject {

  

  public VolumeGroupSyncContext() {
    super();

  }

  @lombok.Builder(builderMethodName = "VolumeGroupSyncContextBuilder")
  public VolumeGroupSyncContext(String tenantId, String extId, java.util.List links, com.nutanix.dp1.dat.dataprotection.v4.config.SiteReference primarySite, com.nutanix.dp1.dat.dataprotection.v4.config.SiteReference secondarySite) {
    super(tenantId, extId, links);
    this.setPrimarySite(primarySite);
    this.setSecondarySite(secondarySite);
  }

  @Override 
  protected String initialize$objectType() {
    return "dataprotection.v4.config.VolumeGroupSyncContext";
  }

  @Override 
  protected String initialize$fv() {
    return "v4.r0";
  }


  
  
  
    /**
    * 
    */
    
    
    @JsonProperty("primarySite")
    public com.nutanix.dp1.dat.dataprotection.v4.config.SiteReference primarySite = null;
  
  
  
    /**
    * 
    */
    
    
    @JsonProperty("secondarySite")
    public com.nutanix.dp1.dat.dataprotection.v4.config.SiteReference secondarySite = null;
  
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy