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

com.pulumi.azurenative.maintenance.ConfigurationAssignmentsForResourceGroupArgs 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.maintenance;

import com.pulumi.azurenative.maintenance.inputs.ConfigurationAssignmentFilterPropertiesArgs;
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 ConfigurationAssignmentsForResourceGroupArgs extends com.pulumi.resources.ResourceArgs {

    public static final ConfigurationAssignmentsForResourceGroupArgs Empty = new ConfigurationAssignmentsForResourceGroupArgs();

    /**
     * Configuration assignment name
     * 
     */
    @Import(name="configurationAssignmentName")
    private @Nullable Output configurationAssignmentName;

    /**
     * @return Configuration assignment name
     * 
     */
    public Optional> configurationAssignmentName() {
        return Optional.ofNullable(this.configurationAssignmentName);
    }

    /**
     * Properties of the configuration assignment
     * 
     */
    @Import(name="filter")
    private @Nullable Output filter;

    /**
     * @return Properties of the configuration assignment
     * 
     */
    public Optional> filter() {
        return Optional.ofNullable(this.filter);
    }

    /**
     * Location of the resource
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Location of the resource
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The maintenance configuration Id
     * 
     */
    @Import(name="maintenanceConfigurationId")
    private @Nullable Output maintenanceConfigurationId;

    /**
     * @return The maintenance configuration Id
     * 
     */
    public Optional> maintenanceConfigurationId() {
        return Optional.ofNullable(this.maintenanceConfigurationId);
    }

    /**
     * Resource group name
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return Resource group name
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The unique resourceId
     * 
     */
    @Import(name="resourceId")
    private @Nullable Output resourceId;

    /**
     * @return The unique resourceId
     * 
     */
    public Optional> resourceId() {
        return Optional.ofNullable(this.resourceId);
    }

    private ConfigurationAssignmentsForResourceGroupArgs() {}

    private ConfigurationAssignmentsForResourceGroupArgs(ConfigurationAssignmentsForResourceGroupArgs $) {
        this.configurationAssignmentName = $.configurationAssignmentName;
        this.filter = $.filter;
        this.location = $.location;
        this.maintenanceConfigurationId = $.maintenanceConfigurationId;
        this.resourceGroupName = $.resourceGroupName;
        this.resourceId = $.resourceId;
    }

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

    public static final class Builder {
        private ConfigurationAssignmentsForResourceGroupArgs $;

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

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

        /**
         * @param configurationAssignmentName Configuration assignment name
         * 
         * @return builder
         * 
         */
        public Builder configurationAssignmentName(@Nullable Output configurationAssignmentName) {
            $.configurationAssignmentName = configurationAssignmentName;
            return this;
        }

        /**
         * @param configurationAssignmentName Configuration assignment name
         * 
         * @return builder
         * 
         */
        public Builder configurationAssignmentName(String configurationAssignmentName) {
            return configurationAssignmentName(Output.of(configurationAssignmentName));
        }

        /**
         * @param filter Properties of the configuration assignment
         * 
         * @return builder
         * 
         */
        public Builder filter(@Nullable Output filter) {
            $.filter = filter;
            return this;
        }

        /**
         * @param filter Properties of the configuration assignment
         * 
         * @return builder
         * 
         */
        public Builder filter(ConfigurationAssignmentFilterPropertiesArgs filter) {
            return filter(Output.of(filter));
        }

        /**
         * @param location Location of the resource
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Location of the resource
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param maintenanceConfigurationId The maintenance configuration Id
         * 
         * @return builder
         * 
         */
        public Builder maintenanceConfigurationId(@Nullable Output maintenanceConfigurationId) {
            $.maintenanceConfigurationId = maintenanceConfigurationId;
            return this;
        }

        /**
         * @param maintenanceConfigurationId The maintenance configuration Id
         * 
         * @return builder
         * 
         */
        public Builder maintenanceConfigurationId(String maintenanceConfigurationId) {
            return maintenanceConfigurationId(Output.of(maintenanceConfigurationId));
        }

        /**
         * @param resourceGroupName Resource group name
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName Resource group name
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

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

        /**
         * @param resourceId The unique resourceId
         * 
         * @return builder
         * 
         */
        public Builder resourceId(String resourceId) {
            return resourceId(Output.of(resourceId));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy