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

com.pulumi.azurenative.changeanalysis.ConfigurationProfileArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show 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.changeanalysis;

import com.pulumi.azurenative.changeanalysis.inputs.ConfigurationProfileResourcePropertiesArgs;
import com.pulumi.azurenative.changeanalysis.inputs.ResourceIdentityArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ConfigurationProfileArgs Empty = new ConfigurationProfileArgs();

    /**
     * The identity block returned by ARM resource that supports managed identity.
     * 
     */
    @Import(name="identity")
    private @Nullable Output identity;

    /**
     * @return The identity block returned by ARM resource that supports managed identity.
     * 
     */
    public Optional> identity() {
        return Optional.ofNullable(this.identity);
    }

    /**
     * The location where the resource is to be deployed.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The location where the resource is to be deployed.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The name of the configuration profile. The profile name should be set to 'default', all other names will be overwritten.
     * 
     */
    @Import(name="profileName")
    private @Nullable Output profileName;

    /**
     * @return The name of the configuration profile. The profile name should be set to 'default', all other names will be overwritten.
     * 
     */
    public Optional> profileName() {
        return Optional.ofNullable(this.profileName);
    }

    /**
     * The properties of a configuration profile.
     * 
     */
    @Import(name="properties")
    private @Nullable Output properties;

    /**
     * @return The properties of a configuration profile.
     * 
     */
    public Optional> properties() {
        return Optional.ofNullable(this.properties);
    }

    private ConfigurationProfileArgs() {}

    private ConfigurationProfileArgs(ConfigurationProfileArgs $) {
        this.identity = $.identity;
        this.location = $.location;
        this.profileName = $.profileName;
        this.properties = $.properties;
    }

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

    public static final class Builder {
        private ConfigurationProfileArgs $;

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

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

        /**
         * @param identity The identity block returned by ARM resource that supports managed identity.
         * 
         * @return builder
         * 
         */
        public Builder identity(@Nullable Output identity) {
            $.identity = identity;
            return this;
        }

        /**
         * @param identity The identity block returned by ARM resource that supports managed identity.
         * 
         * @return builder
         * 
         */
        public Builder identity(ResourceIdentityArgs identity) {
            return identity(Output.of(identity));
        }

        /**
         * @param location The location where the resource is to be deployed.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The location where the resource is to be deployed.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param profileName The name of the configuration profile. The profile name should be set to 'default', all other names will be overwritten.
         * 
         * @return builder
         * 
         */
        public Builder profileName(@Nullable Output profileName) {
            $.profileName = profileName;
            return this;
        }

        /**
         * @param profileName The name of the configuration profile. The profile name should be set to 'default', all other names will be overwritten.
         * 
         * @return builder
         * 
         */
        public Builder profileName(String profileName) {
            return profileName(Output.of(profileName));
        }

        /**
         * @param properties The properties of a configuration profile.
         * 
         * @return builder
         * 
         */
        public Builder properties(@Nullable Output properties) {
            $.properties = properties;
            return this;
        }

        /**
         * @param properties The properties of a configuration profile.
         * 
         * @return builder
         * 
         */
        public Builder properties(ConfigurationProfileResourcePropertiesArgs properties) {
            return properties(Output.of(properties));
        }

        public ConfigurationProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy