
com.pulumi.azurenative.recoveryservices.outputs.AzureVmDiskDetailsResponse 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.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AzureVmDiskDetailsResponse {
/**
* @return The custom target Azure disk name.
*
*/
private @Nullable String customTargetDiskName;
/**
* @return The DiskEncryptionSet ARM ID.
*
*/
private @Nullable String diskEncryptionSetId;
/**
* @return The disk resource id.
*
*/
private @Nullable String diskId;
/**
* @return Ordinal\LunId of the disk for the Azure VM.
*
*/
private @Nullable String lunId;
/**
* @return Max side in MB.
*
*/
private @Nullable String maxSizeMB;
/**
* @return Blob uri of the Azure disk.
*
*/
private @Nullable String targetDiskLocation;
/**
* @return The target Azure disk name.
*
*/
private @Nullable String targetDiskName;
/**
* @return The VHD id.
*
*/
private @Nullable String vhdId;
/**
* @return VHD name.
*
*/
private @Nullable String vhdName;
/**
* @return VHD type.
*
*/
private @Nullable String vhdType;
private AzureVmDiskDetailsResponse() {}
/**
* @return The custom target Azure disk name.
*
*/
public Optional customTargetDiskName() {
return Optional.ofNullable(this.customTargetDiskName);
}
/**
* @return The DiskEncryptionSet ARM ID.
*
*/
public Optional diskEncryptionSetId() {
return Optional.ofNullable(this.diskEncryptionSetId);
}
/**
* @return The disk resource id.
*
*/
public Optional diskId() {
return Optional.ofNullable(this.diskId);
}
/**
* @return Ordinal\LunId of the disk for the Azure VM.
*
*/
public Optional lunId() {
return Optional.ofNullable(this.lunId);
}
/**
* @return Max side in MB.
*
*/
public Optional maxSizeMB() {
return Optional.ofNullable(this.maxSizeMB);
}
/**
* @return Blob uri of the Azure disk.
*
*/
public Optional targetDiskLocation() {
return Optional.ofNullable(this.targetDiskLocation);
}
/**
* @return The target Azure disk name.
*
*/
public Optional targetDiskName() {
return Optional.ofNullable(this.targetDiskName);
}
/**
* @return The VHD id.
*
*/
public Optional vhdId() {
return Optional.ofNullable(this.vhdId);
}
/**
* @return VHD name.
*
*/
public Optional vhdName() {
return Optional.ofNullable(this.vhdName);
}
/**
* @return VHD type.
*
*/
public Optional vhdType() {
return Optional.ofNullable(this.vhdType);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AzureVmDiskDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String customTargetDiskName;
private @Nullable String diskEncryptionSetId;
private @Nullable String diskId;
private @Nullable String lunId;
private @Nullable String maxSizeMB;
private @Nullable String targetDiskLocation;
private @Nullable String targetDiskName;
private @Nullable String vhdId;
private @Nullable String vhdName;
private @Nullable String vhdType;
public Builder() {}
public Builder(AzureVmDiskDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.customTargetDiskName = defaults.customTargetDiskName;
this.diskEncryptionSetId = defaults.diskEncryptionSetId;
this.diskId = defaults.diskId;
this.lunId = defaults.lunId;
this.maxSizeMB = defaults.maxSizeMB;
this.targetDiskLocation = defaults.targetDiskLocation;
this.targetDiskName = defaults.targetDiskName;
this.vhdId = defaults.vhdId;
this.vhdName = defaults.vhdName;
this.vhdType = defaults.vhdType;
}
@CustomType.Setter
public Builder customTargetDiskName(@Nullable String customTargetDiskName) {
this.customTargetDiskName = customTargetDiskName;
return this;
}
@CustomType.Setter
public Builder diskEncryptionSetId(@Nullable String diskEncryptionSetId) {
this.diskEncryptionSetId = diskEncryptionSetId;
return this;
}
@CustomType.Setter
public Builder diskId(@Nullable String diskId) {
this.diskId = diskId;
return this;
}
@CustomType.Setter
public Builder lunId(@Nullable String lunId) {
this.lunId = lunId;
return this;
}
@CustomType.Setter
public Builder maxSizeMB(@Nullable String maxSizeMB) {
this.maxSizeMB = maxSizeMB;
return this;
}
@CustomType.Setter
public Builder targetDiskLocation(@Nullable String targetDiskLocation) {
this.targetDiskLocation = targetDiskLocation;
return this;
}
@CustomType.Setter
public Builder targetDiskName(@Nullable String targetDiskName) {
this.targetDiskName = targetDiskName;
return this;
}
@CustomType.Setter
public Builder vhdId(@Nullable String vhdId) {
this.vhdId = vhdId;
return this;
}
@CustomType.Setter
public Builder vhdName(@Nullable String vhdName) {
this.vhdName = vhdName;
return this;
}
@CustomType.Setter
public Builder vhdType(@Nullable String vhdType) {
this.vhdType = vhdType;
return this;
}
public AzureVmDiskDetailsResponse build() {
final var _resultValue = new AzureVmDiskDetailsResponse();
_resultValue.customTargetDiskName = customTargetDiskName;
_resultValue.diskEncryptionSetId = diskEncryptionSetId;
_resultValue.diskId = diskId;
_resultValue.lunId = lunId;
_resultValue.maxSizeMB = maxSizeMB;
_resultValue.targetDiskLocation = targetDiskLocation;
_resultValue.targetDiskName = targetDiskName;
_resultValue.vhdId = vhdId;
_resultValue.vhdName = vhdName;
_resultValue.vhdType = vhdType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy