com.pulumi.azurenative.recoveryservices.outputs.InMageRcmProtectedDiskDetailsResponse 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.
// *** 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.InMageRcmSyncDetailsResponse;
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 InMageRcmProtectedDiskDetailsResponse {
/**
* @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 DiskEncryptionSet ARM Id.
*
*/
private String diskEncryptionSetId;
/**
* @return The disk Id.
*
*/
private String diskId;
/**
* @return The disk name.
*
*/
private String diskName;
/**
* @return The disk type.
*
*/
private @Nullable String diskType;
/**
* @return The initial replication details.
*
*/
private @Nullable InMageRcmSyncDetailsResponse 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 log storage account ARM Id.
*
*/
private String logStorageAccountId;
/**
* @return The resync details.
*
*/
private @Nullable InMageRcmSyncDetailsResponse resyncDetails;
/**
* @return The uri of the seed blob.
*
*/
private String seedBlobUri;
/**
* @return The ARM Id of the seed managed disk.
*
*/
private String seedManagedDiskId;
/**
* @return The ARM Id of the target managed disk.
*
*/
private String targetManagedDiskId;
private InMageRcmProtectedDiskDetailsResponse() {}
/**
* @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 DiskEncryptionSet ARM Id.
*
*/
public String diskEncryptionSetId() {
return this.diskEncryptionSetId;
}
/**
* @return The disk Id.
*
*/
public String diskId() {
return this.diskId;
}
/**
* @return The disk name.
*
*/
public String diskName() {
return this.diskName;
}
/**
* @return The disk type.
*
*/
public Optional diskType() {
return Optional.ofNullable(this.diskType);
}
/**
* @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 log storage account ARM Id.
*
*/
public String logStorageAccountId() {
return this.logStorageAccountId;
}
/**
* @return The resync details.
*
*/
public Optional resyncDetails() {
return Optional.ofNullable(this.resyncDetails);
}
/**
* @return The uri of the seed blob.
*
*/
public String seedBlobUri() {
return this.seedBlobUri;
}
/**
* @return The ARM Id of the seed managed disk.
*
*/
public String seedManagedDiskId() {
return this.seedManagedDiskId;
}
/**
* @return The ARM Id of the target managed disk.
*
*/
public String targetManagedDiskId() {
return this.targetManagedDiskId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(InMageRcmProtectedDiskDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Double capacityInBytes;
private Double dataPendingAtSourceAgentInMB;
private Double dataPendingInLogDataStoreInMB;
private String diskEncryptionSetId;
private String diskId;
private String diskName;
private @Nullable String diskType;
private @Nullable InMageRcmSyncDetailsResponse irDetails;
private String isInitialReplicationComplete;
private String isOSDisk;
private String logStorageAccountId;
private @Nullable InMageRcmSyncDetailsResponse resyncDetails;
private String seedBlobUri;
private String seedManagedDiskId;
private String targetManagedDiskId;
public Builder() {}
public Builder(InMageRcmProtectedDiskDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.capacityInBytes = defaults.capacityInBytes;
this.dataPendingAtSourceAgentInMB = defaults.dataPendingAtSourceAgentInMB;
this.dataPendingInLogDataStoreInMB = defaults.dataPendingInLogDataStoreInMB;
this.diskEncryptionSetId = defaults.diskEncryptionSetId;
this.diskId = defaults.diskId;
this.diskName = defaults.diskName;
this.diskType = defaults.diskType;
this.irDetails = defaults.irDetails;
this.isInitialReplicationComplete = defaults.isInitialReplicationComplete;
this.isOSDisk = defaults.isOSDisk;
this.logStorageAccountId = defaults.logStorageAccountId;
this.resyncDetails = defaults.resyncDetails;
this.seedBlobUri = defaults.seedBlobUri;
this.seedManagedDiskId = defaults.seedManagedDiskId;
this.targetManagedDiskId = defaults.targetManagedDiskId;
}
@CustomType.Setter
public Builder capacityInBytes(Double capacityInBytes) {
if (capacityInBytes == null) {
throw new MissingRequiredPropertyException("InMageRcmProtectedDiskDetailsResponse", "capacityInBytes");
}
this.capacityInBytes = capacityInBytes;
return this;
}
@CustomType.Setter
public Builder dataPendingAtSourceAgentInMB(Double dataPendingAtSourceAgentInMB) {
if (dataPendingAtSourceAgentInMB == null) {
throw new MissingRequiredPropertyException("InMageRcmProtectedDiskDetailsResponse", "dataPendingAtSourceAgentInMB");
}
this.dataPendingAtSourceAgentInMB = dataPendingAtSourceAgentInMB;
return this;
}
@CustomType.Setter
public Builder dataPendingInLogDataStoreInMB(Double dataPendingInLogDataStoreInMB) {
if (dataPendingInLogDataStoreInMB == null) {
throw new MissingRequiredPropertyException("InMageRcmProtectedDiskDetailsResponse", "dataPendingInLogDataStoreInMB");
}
this.dataPendingInLogDataStoreInMB = dataPendingInLogDataStoreInMB;
return this;
}
@CustomType.Setter
public Builder diskEncryptionSetId(String diskEncryptionSetId) {
if (diskEncryptionSetId == null) {
throw new MissingRequiredPropertyException("InMageRcmProtectedDiskDetailsResponse", "diskEncryptionSetId");
}
this.diskEncryptionSetId = diskEncryptionSetId;
return this;
}
@CustomType.Setter
public Builder diskId(String diskId) {
if (diskId == null) {
throw new MissingRequiredPropertyException("InMageRcmProtectedDiskDetailsResponse", "diskId");
}
this.diskId = diskId;
return this;
}
@CustomType.Setter
public Builder diskName(String diskName) {
if (diskName == null) {
throw new MissingRequiredPropertyException("InMageRcmProtectedDiskDetailsResponse", "diskName");
}
this.diskName = diskName;
return this;
}
@CustomType.Setter
public Builder diskType(@Nullable String diskType) {
this.diskType = diskType;
return this;
}
@CustomType.Setter
public Builder irDetails(@Nullable InMageRcmSyncDetailsResponse irDetails) {
this.irDetails = irDetails;
return this;
}
@CustomType.Setter
public Builder isInitialReplicationComplete(String isInitialReplicationComplete) {
if (isInitialReplicationComplete == null) {
throw new MissingRequiredPropertyException("InMageRcmProtectedDiskDetailsResponse", "isInitialReplicationComplete");
}
this.isInitialReplicationComplete = isInitialReplicationComplete;
return this;
}
@CustomType.Setter
public Builder isOSDisk(String isOSDisk) {
if (isOSDisk == null) {
throw new MissingRequiredPropertyException("InMageRcmProtectedDiskDetailsResponse", "isOSDisk");
}
this.isOSDisk = isOSDisk;
return this;
}
@CustomType.Setter
public Builder logStorageAccountId(String logStorageAccountId) {
if (logStorageAccountId == null) {
throw new MissingRequiredPropertyException("InMageRcmProtectedDiskDetailsResponse", "logStorageAccountId");
}
this.logStorageAccountId = logStorageAccountId;
return this;
}
@CustomType.Setter
public Builder resyncDetails(@Nullable InMageRcmSyncDetailsResponse resyncDetails) {
this.resyncDetails = resyncDetails;
return this;
}
@CustomType.Setter
public Builder seedBlobUri(String seedBlobUri) {
if (seedBlobUri == null) {
throw new MissingRequiredPropertyException("InMageRcmProtectedDiskDetailsResponse", "seedBlobUri");
}
this.seedBlobUri = seedBlobUri;
return this;
}
@CustomType.Setter
public Builder seedManagedDiskId(String seedManagedDiskId) {
if (seedManagedDiskId == null) {
throw new MissingRequiredPropertyException("InMageRcmProtectedDiskDetailsResponse", "seedManagedDiskId");
}
this.seedManagedDiskId = seedManagedDiskId;
return this;
}
@CustomType.Setter
public Builder targetManagedDiskId(String targetManagedDiskId) {
if (targetManagedDiskId == null) {
throw new MissingRequiredPropertyException("InMageRcmProtectedDiskDetailsResponse", "targetManagedDiskId");
}
this.targetManagedDiskId = targetManagedDiskId;
return this;
}
public InMageRcmProtectedDiskDetailsResponse build() {
final var _resultValue = new InMageRcmProtectedDiskDetailsResponse();
_resultValue.capacityInBytes = capacityInBytes;
_resultValue.dataPendingAtSourceAgentInMB = dataPendingAtSourceAgentInMB;
_resultValue.dataPendingInLogDataStoreInMB = dataPendingInLogDataStoreInMB;
_resultValue.diskEncryptionSetId = diskEncryptionSetId;
_resultValue.diskId = diskId;
_resultValue.diskName = diskName;
_resultValue.diskType = diskType;
_resultValue.irDetails = irDetails;
_resultValue.isInitialReplicationComplete = isInitialReplicationComplete;
_resultValue.isOSDisk = isOSDisk;
_resultValue.logStorageAccountId = logStorageAccountId;
_resultValue.resyncDetails = resyncDetails;
_resultValue.seedBlobUri = seedBlobUri;
_resultValue.seedManagedDiskId = seedManagedDiskId;
_resultValue.targetManagedDiskId = targetManagedDiskId;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy