com.pulumi.azurenative.recoveryservices.outputs.InMageAzureV2ManagedDiskDetailsResponse 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 InMageAzureV2ManagedDiskDetailsResponse {
/**
* @return The DiskEncryptionSet ARM ID.
*
*/
private @Nullable String diskEncryptionSetId;
/**
* @return The disk id.
*
*/
private @Nullable String diskId;
/**
* @return The replica disk type.
*
*/
private @Nullable String replicaDiskType;
/**
* @return Seed managed disk Id.
*
*/
private @Nullable String seedManagedDiskId;
/**
* @return The target disk name.
*
*/
private @Nullable String targetDiskName;
private InMageAzureV2ManagedDiskDetailsResponse() {}
/**
* @return The DiskEncryptionSet ARM ID.
*
*/
public Optional diskEncryptionSetId() {
return Optional.ofNullable(this.diskEncryptionSetId);
}
/**
* @return The disk id.
*
*/
public Optional diskId() {
return Optional.ofNullable(this.diskId);
}
/**
* @return The replica disk type.
*
*/
public Optional replicaDiskType() {
return Optional.ofNullable(this.replicaDiskType);
}
/**
* @return Seed managed disk Id.
*
*/
public Optional seedManagedDiskId() {
return Optional.ofNullable(this.seedManagedDiskId);
}
/**
* @return The target disk name.
*
*/
public Optional targetDiskName() {
return Optional.ofNullable(this.targetDiskName);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(InMageAzureV2ManagedDiskDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String diskEncryptionSetId;
private @Nullable String diskId;
private @Nullable String replicaDiskType;
private @Nullable String seedManagedDiskId;
private @Nullable String targetDiskName;
public Builder() {}
public Builder(InMageAzureV2ManagedDiskDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.diskEncryptionSetId = defaults.diskEncryptionSetId;
this.diskId = defaults.diskId;
this.replicaDiskType = defaults.replicaDiskType;
this.seedManagedDiskId = defaults.seedManagedDiskId;
this.targetDiskName = defaults.targetDiskName;
}
@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 replicaDiskType(@Nullable String replicaDiskType) {
this.replicaDiskType = replicaDiskType;
return this;
}
@CustomType.Setter
public Builder seedManagedDiskId(@Nullable String seedManagedDiskId) {
this.seedManagedDiskId = seedManagedDiskId;
return this;
}
@CustomType.Setter
public Builder targetDiskName(@Nullable String targetDiskName) {
this.targetDiskName = targetDiskName;
return this;
}
public InMageAzureV2ManagedDiskDetailsResponse build() {
final var _resultValue = new InMageAzureV2ManagedDiskDetailsResponse();
_resultValue.diskEncryptionSetId = diskEncryptionSetId;
_resultValue.diskId = diskId;
_resultValue.replicaDiskType = replicaDiskType;
_resultValue.seedManagedDiskId = seedManagedDiskId;
_resultValue.targetDiskName = targetDiskName;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy