
com.pulumi.azurenative.providerhub.outputs.ResourceProviderManifestPropertiesResponseTemplateDeploymentOptions Maven / Gradle / Ivy
// *** 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.providerhub.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ResourceProviderManifestPropertiesResponseTemplateDeploymentOptions {
private @Nullable List preflightOptions;
private @Nullable Boolean preflightSupported;
private ResourceProviderManifestPropertiesResponseTemplateDeploymentOptions() {}
public List preflightOptions() {
return this.preflightOptions == null ? List.of() : this.preflightOptions;
}
public Optional preflightSupported() {
return Optional.ofNullable(this.preflightSupported);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ResourceProviderManifestPropertiesResponseTemplateDeploymentOptions defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List preflightOptions;
private @Nullable Boolean preflightSupported;
public Builder() {}
public Builder(ResourceProviderManifestPropertiesResponseTemplateDeploymentOptions defaults) {
Objects.requireNonNull(defaults);
this.preflightOptions = defaults.preflightOptions;
this.preflightSupported = defaults.preflightSupported;
}
@CustomType.Setter
public Builder preflightOptions(@Nullable List preflightOptions) {
this.preflightOptions = preflightOptions;
return this;
}
public Builder preflightOptions(String... preflightOptions) {
return preflightOptions(List.of(preflightOptions));
}
@CustomType.Setter
public Builder preflightSupported(@Nullable Boolean preflightSupported) {
this.preflightSupported = preflightSupported;
return this;
}
public ResourceProviderManifestPropertiesResponseTemplateDeploymentOptions build() {
final var _resultValue = new ResourceProviderManifestPropertiesResponseTemplateDeploymentOptions();
_resultValue.preflightOptions = preflightOptions;
_resultValue.preflightSupported = preflightSupported;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy