com.pulumi.azurenative.recoveryservices.outputs.InMageRcmFailbackProtectedDiskDetailsResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.recoveryservices.outputs;
import com.pulumi.azurenative.recoveryservices.outputs.InMageRcmFailbackSyncDetailsResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class InMageRcmFailbackProtectedDiskDetailsResponse {
/**
* @return The disk capacity in bytes.
*
*/
private Double capacityInBytes;
/**
* @return The data pending at source agent in MB.
*
*/
private Double dataPendingAtSourceAgentInMB;
/**
* @return The data pending in log data store in MB.
*
*/
private Double dataPendingInLogDataStoreInMB;
/**
* @return The disk Id (reported by source agent).
*
*/
private String diskId;
/**
* @return The disk name.
*
*/
private String diskName;
/**
* @return The disk Uuid (reported by vCenter).
*
*/
private String diskUuid;
/**
* @return The initial replication details.
*
*/
private @Nullable InMageRcmFailbackSyncDetailsResponse irDetails;
/**
* @return A value indicating whether initial replication is complete or not.
*
*/
private String isInitialReplicationComplete;
/**
* @return A value indicating whether the disk is the OS disk.
*
*/
private String isOSDisk;
/**
* @return The last sync time.
*
*/
private String lastSyncTime;
/**
* @return The resync details.
*
*/
private @Nullable InMageRcmFailbackSyncDetailsResponse resyncDetails;
private InMageRcmFailbackProtectedDiskDetailsResponse() {}
/**
* @return The disk capacity in bytes.
*
*/
public Double capacityInBytes() {
return this.capacityInBytes;
}
/**
* @return The data pending at source agent in MB.
*
*/
public Double dataPendingAtSourceAgentInMB() {
return this.dataPendingAtSourceAgentInMB;
}
/**
* @return The data pending in log data store in MB.
*
*/
public Double dataPendingInLogDataStoreInMB() {
return this.dataPendingInLogDataStoreInMB;
}
/**
* @return The disk Id (reported by source agent).
*
*/
public String diskId() {
return this.diskId;
}
/**
* @return The disk name.
*
*/
public String diskName() {
return this.diskName;
}
/**
* @return The disk Uuid (reported by vCenter).
*
*/
public String diskUuid() {
return this.diskUuid;
}
/**
* @return The initial replication details.
*
*/
public Optional irDetails() {
return Optional.ofNullable(this.irDetails);
}
/**
* @return A value indicating whether initial replication is complete or not.
*
*/
public String isInitialReplicationComplete() {
return this.isInitialReplicationComplete;
}
/**
* @return A value indicating whether the disk is the OS disk.
*
*/
public String isOSDisk() {
return this.isOSDisk;
}
/**
* @return The last sync time.
*
*/
public String lastSyncTime() {
return this.lastSyncTime;
}
/**
* @return The resync details.
*
*/
public Optional resyncDetails() {
return Optional.ofNullable(this.resyncDetails);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(InMageRcmFailbackProtectedDiskDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Double capacityInBytes;
private Double dataPendingAtSourceAgentInMB;
private Double dataPendingInLogDataStoreInMB;
private String diskId;
private String diskName;
private String diskUuid;
private @Nullable InMageRcmFailbackSyncDetailsResponse irDetails;
private String isInitialReplicationComplete;
private String isOSDisk;
private String lastSyncTime;
private @Nullable InMageRcmFailbackSyncDetailsResponse resyncDetails;
public Builder() {}
public Builder(InMageRcmFailbackProtectedDiskDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.capacityInBytes = defaults.capacityInBytes;
this.dataPendingAtSourceAgentInMB = defaults.dataPendingAtSourceAgentInMB;
this.dataPendingInLogDataStoreInMB = defaults.dataPendingInLogDataStoreInMB;
this.diskId = defaults.diskId;
this.diskName = defaults.diskName;
this.diskUuid = defaults.diskUuid;
this.irDetails = defaults.irDetails;
this.isInitialReplicationComplete = defaults.isInitialReplicationComplete;
this.isOSDisk = defaults.isOSDisk;
this.lastSyncTime = defaults.lastSyncTime;
this.resyncDetails = defaults.resyncDetails;
}
@CustomType.Setter
public Builder capacityInBytes(Double capacityInBytes) {
if (capacityInBytes == null) {
throw new MissingRequiredPropertyException("InMageRcmFailbackProtectedDiskDetailsResponse", "capacityInBytes");
}
this.capacityInBytes = capacityInBytes;
return this;
}
@CustomType.Setter
public Builder dataPendingAtSourceAgentInMB(Double dataPendingAtSourceAgentInMB) {
if (dataPendingAtSourceAgentInMB == null) {
throw new MissingRequiredPropertyException("InMageRcmFailbackProtectedDiskDetailsResponse", "dataPendingAtSourceAgentInMB");
}
this.dataPendingAtSourceAgentInMB = dataPendingAtSourceAgentInMB;
return this;
}
@CustomType.Setter
public Builder dataPendingInLogDataStoreInMB(Double dataPendingInLogDataStoreInMB) {
if (dataPendingInLogDataStoreInMB == null) {
throw new MissingRequiredPropertyException("InMageRcmFailbackProtectedDiskDetailsResponse", "dataPendingInLogDataStoreInMB");
}
this.dataPendingInLogDataStoreInMB = dataPendingInLogDataStoreInMB;
return this;
}
@CustomType.Setter
public Builder diskId(String diskId) {
if (diskId == null) {
throw new MissingRequiredPropertyException("InMageRcmFailbackProtectedDiskDetailsResponse", "diskId");
}
this.diskId = diskId;
return this;
}
@CustomType.Setter
public Builder diskName(String diskName) {
if (diskName == null) {
throw new MissingRequiredPropertyException("InMageRcmFailbackProtectedDiskDetailsResponse", "diskName");
}
this.diskName = diskName;
return this;
}
@CustomType.Setter
public Builder diskUuid(String diskUuid) {
if (diskUuid == null) {
throw new MissingRequiredPropertyException("InMageRcmFailbackProtectedDiskDetailsResponse", "diskUuid");
}
this.diskUuid = diskUuid;
return this;
}
@CustomType.Setter
public Builder irDetails(@Nullable InMageRcmFailbackSyncDetailsResponse irDetails) {
this.irDetails = irDetails;
return this;
}
@CustomType.Setter
public Builder isInitialReplicationComplete(String isInitialReplicationComplete) {
if (isInitialReplicationComplete == null) {
throw new MissingRequiredPropertyException("InMageRcmFailbackProtectedDiskDetailsResponse", "isInitialReplicationComplete");
}
this.isInitialReplicationComplete = isInitialReplicationComplete;
return this;
}
@CustomType.Setter
public Builder isOSDisk(String isOSDisk) {
if (isOSDisk == null) {
throw new MissingRequiredPropertyException("InMageRcmFailbackProtectedDiskDetailsResponse", "isOSDisk");
}
this.isOSDisk = isOSDisk;
return this;
}
@CustomType.Setter
public Builder lastSyncTime(String lastSyncTime) {
if (lastSyncTime == null) {
throw new MissingRequiredPropertyException("InMageRcmFailbackProtectedDiskDetailsResponse", "lastSyncTime");
}
this.lastSyncTime = lastSyncTime;
return this;
}
@CustomType.Setter
public Builder resyncDetails(@Nullable InMageRcmFailbackSyncDetailsResponse resyncDetails) {
this.resyncDetails = resyncDetails;
return this;
}
public InMageRcmFailbackProtectedDiskDetailsResponse build() {
final var _resultValue = new InMageRcmFailbackProtectedDiskDetailsResponse();
_resultValue.capacityInBytes = capacityInBytes;
_resultValue.dataPendingAtSourceAgentInMB = dataPendingAtSourceAgentInMB;
_resultValue.dataPendingInLogDataStoreInMB = dataPendingInLogDataStoreInMB;
_resultValue.diskId = diskId;
_resultValue.diskName = diskName;
_resultValue.diskUuid = diskUuid;
_resultValue.irDetails = irDetails;
_resultValue.isInitialReplicationComplete = isInitialReplicationComplete;
_resultValue.isOSDisk = isOSDisk;
_resultValue.lastSyncTime = lastSyncTime;
_resultValue.resyncDetails = resyncDetails;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy