com.pulumi.azurenative.scvmm.outputs.StorageProfileResponse 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.scvmm.outputs;
import com.pulumi.azurenative.scvmm.outputs.VirtualDiskResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class StorageProfileResponse {
/**
* @return Gets or sets the list of virtual disks associated with the virtual machine.
*
*/
private @Nullable List disks;
private StorageProfileResponse() {}
/**
* @return Gets or sets the list of virtual disks associated with the virtual machine.
*
*/
public List disks() {
return this.disks == null ? List.of() : this.disks;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(StorageProfileResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List disks;
public Builder() {}
public Builder(StorageProfileResponse defaults) {
Objects.requireNonNull(defaults);
this.disks = defaults.disks;
}
@CustomType.Setter
public Builder disks(@Nullable List disks) {
this.disks = disks;
return this;
}
public Builder disks(VirtualDiskResponse... disks) {
return disks(List.of(disks));
}
public StorageProfileResponse build() {
final var _resultValue = new StorageProfileResponse();
_resultValue.disks = disks;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy