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

com.pulumi.azurenative.features.SubscriptionFeatureRegistrationArgs Maven / Gradle / Ivy

The newest version!
// *** 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.features;

import com.pulumi.azurenative.features.inputs.SubscriptionFeatureRegistrationPropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final SubscriptionFeatureRegistrationArgs Empty = new SubscriptionFeatureRegistrationArgs();

    /**
     * The feature name.
     * 
     */
    @Import(name="featureName")
    private @Nullable Output featureName;

    /**
     * @return The feature name.
     * 
     */
    public Optional> featureName() {
        return Optional.ofNullable(this.featureName);
    }

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

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

    /**
     * The provider namespace.
     * 
     */
    @Import(name="providerNamespace", required=true)
    private Output providerNamespace;

    /**
     * @return The provider namespace.
     * 
     */
    public Output providerNamespace() {
        return this.providerNamespace;
    }

    private SubscriptionFeatureRegistrationArgs() {}

    private SubscriptionFeatureRegistrationArgs(SubscriptionFeatureRegistrationArgs $) {
        this.featureName = $.featureName;
        this.properties = $.properties;
        this.providerNamespace = $.providerNamespace;
    }

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

    public static final class Builder {
        private SubscriptionFeatureRegistrationArgs $;

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

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

        /**
         * @param featureName The feature name.
         * 
         * @return builder
         * 
         */
        public Builder featureName(@Nullable Output featureName) {
            $.featureName = featureName;
            return this;
        }

        /**
         * @param featureName The feature name.
         * 
         * @return builder
         * 
         */
        public Builder featureName(String featureName) {
            return featureName(Output.of(featureName));
        }

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

        public Builder properties(SubscriptionFeatureRegistrationPropertiesArgs properties) {
            return properties(Output.of(properties));
        }

        /**
         * @param providerNamespace The provider namespace.
         * 
         * @return builder
         * 
         */
        public Builder providerNamespace(Output providerNamespace) {
            $.providerNamespace = providerNamespace;
            return this;
        }

        /**
         * @param providerNamespace The provider namespace.
         * 
         * @return builder
         * 
         */
        public Builder providerNamespace(String providerNamespace) {
            return providerNamespace(Output.of(providerNamespace));
        }

        public SubscriptionFeatureRegistrationArgs build() {
            if ($.providerNamespace == null) {
                throw new MissingRequiredPropertyException("SubscriptionFeatureRegistrationArgs", "providerNamespace");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy