All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.inputs.ProviderFeaturesResourceGroupArgs 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.azure.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ProviderFeaturesResourceGroupArgs extends com.pulumi.resources.ResourceArgs {

    public static final ProviderFeaturesResourceGroupArgs Empty = new ProviderFeaturesResourceGroupArgs();

    @Import(name="preventDeletionIfContainsResources")
    private @Nullable Output preventDeletionIfContainsResources;

    public Optional> preventDeletionIfContainsResources() {
        return Optional.ofNullable(this.preventDeletionIfContainsResources);
    }

    private ProviderFeaturesResourceGroupArgs() {}

    private ProviderFeaturesResourceGroupArgs(ProviderFeaturesResourceGroupArgs $) {
        this.preventDeletionIfContainsResources = $.preventDeletionIfContainsResources;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(ProviderFeaturesResourceGroupArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private ProviderFeaturesResourceGroupArgs $;

        public Builder() {
            $ = new ProviderFeaturesResourceGroupArgs();
        }

        public Builder(ProviderFeaturesResourceGroupArgs defaults) {
            $ = new ProviderFeaturesResourceGroupArgs(Objects.requireNonNull(defaults));
        }

        public Builder preventDeletionIfContainsResources(@Nullable Output preventDeletionIfContainsResources) {
            $.preventDeletionIfContainsResources = preventDeletionIfContainsResources;
            return this;
        }

        public Builder preventDeletionIfContainsResources(Boolean preventDeletionIfContainsResources) {
            return preventDeletionIfContainsResources(Output.of(preventDeletionIfContainsResources));
        }

        public ProviderFeaturesResourceGroupArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy