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

com.nutanix.dp1.dat.dataprotection.v4.content.VmDiskRecoveryPointClusterDiscoverSpec 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.content;

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 java.util.Map;

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


/**
 * Pass all required IDs to generate a token and discover the cluster. All parameters are optional. However, if a reference disk recovery point needs to be set, the following three parameters must be specified: recoveryPointExtId, vmRecoveryPointExtId, and extId.
 */
@EqualsAndHashCode(callSuper=true)
@Data
@lombok.extern.slf4j.Slf4j
public class VmDiskRecoveryPointClusterDiscoverSpec extends com.nutanix.dp1.dat.dataprotection.v4.content.BaseRecoveryPointSpec implements java.io.Serializable, DatObjectTypeTypedObject {

  

  public VmDiskRecoveryPointClusterDiscoverSpec() {
    super();

  }

  @lombok.Builder(builderMethodName = "VmDiskRecoveryPointClusterDiscoverSpecBuilder")
  public VmDiskRecoveryPointClusterDiscoverSpec(String referenceRecoveryPointExtId, String referenceDiskRecoveryPointExtId, String referenceVmRecoveryPointExtId) {
    super(referenceRecoveryPointExtId, referenceDiskRecoveryPointExtId);
    this.setReferenceVmRecoveryPointExtId(referenceVmRecoveryPointExtId);
  }

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

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


  
  
  
    /**
    * The external identifier that can be used to identify a VM recovery point.
    */
    @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}$")
    
    
    @JsonProperty("referenceVmRecoveryPointExtId")
    public String referenceVmRecoveryPointExtId = null;
  
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy