com.pulumi.azurenative.compute.outputs.DisallowedResponse 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.compute.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class DisallowedResponse {
/**
* @return A list of disk types.
*
*/
private @Nullable List diskTypes;
private DisallowedResponse() {}
/**
* @return A list of disk types.
*
*/
public List diskTypes() {
return this.diskTypes == null ? List.of() : this.diskTypes;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DisallowedResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List diskTypes;
public Builder() {}
public Builder(DisallowedResponse defaults) {
Objects.requireNonNull(defaults);
this.diskTypes = defaults.diskTypes;
}
@CustomType.Setter
public Builder diskTypes(@Nullable List diskTypes) {
this.diskTypes = diskTypes;
return this;
}
public Builder diskTypes(String... diskTypes) {
return diskTypes(List.of(diskTypes));
}
public DisallowedResponse build() {
final var _resultValue = new DisallowedResponse();
_resultValue.diskTypes = diskTypes;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy