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

com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationTargetArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.automation.inputs;

import com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationTargetAzureQueryArgs;
import com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationTargetNonAzureQueryArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final SoftwareUpdateConfigurationTargetArgs Empty = new SoftwareUpdateConfigurationTargetArgs();

    /**
     * One or more `azure_query` blocks as defined above.
     * 
     */
    @Import(name="azureQueries")
    private @Nullable Output> azureQueries;

    /**
     * @return One or more `azure_query` blocks as defined above.
     * 
     */
    public Optional>> azureQueries() {
        return Optional.ofNullable(this.azureQueries);
    }

    /**
     * One or more `non_azure_query` blocks as defined above.
     * 
     */
    @Import(name="nonAzureQueries")
    private @Nullable Output> nonAzureQueries;

    /**
     * @return One or more `non_azure_query` blocks as defined above.
     * 
     */
    public Optional>> nonAzureQueries() {
        return Optional.ofNullable(this.nonAzureQueries);
    }

    private SoftwareUpdateConfigurationTargetArgs() {}

    private SoftwareUpdateConfigurationTargetArgs(SoftwareUpdateConfigurationTargetArgs $) {
        this.azureQueries = $.azureQueries;
        this.nonAzureQueries = $.nonAzureQueries;
    }

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

    public static final class Builder {
        private SoftwareUpdateConfigurationTargetArgs $;

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

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

        /**
         * @param azureQueries One or more `azure_query` blocks as defined above.
         * 
         * @return builder
         * 
         */
        public Builder azureQueries(@Nullable Output> azureQueries) {
            $.azureQueries = azureQueries;
            return this;
        }

        /**
         * @param azureQueries One or more `azure_query` blocks as defined above.
         * 
         * @return builder
         * 
         */
        public Builder azureQueries(List azureQueries) {
            return azureQueries(Output.of(azureQueries));
        }

        /**
         * @param azureQueries One or more `azure_query` blocks as defined above.
         * 
         * @return builder
         * 
         */
        public Builder azureQueries(SoftwareUpdateConfigurationTargetAzureQueryArgs... azureQueries) {
            return azureQueries(List.of(azureQueries));
        }

        /**
         * @param nonAzureQueries One or more `non_azure_query` blocks as defined above.
         * 
         * @return builder
         * 
         */
        public Builder nonAzureQueries(@Nullable Output> nonAzureQueries) {
            $.nonAzureQueries = nonAzureQueries;
            return this;
        }

        /**
         * @param nonAzureQueries One or more `non_azure_query` blocks as defined above.
         * 
         * @return builder
         * 
         */
        public Builder nonAzureQueries(List nonAzureQueries) {
            return nonAzureQueries(Output.of(nonAzureQueries));
        }

        /**
         * @param nonAzureQueries One or more `non_azure_query` blocks as defined above.
         * 
         * @return builder
         * 
         */
        public Builder nonAzureQueries(SoftwareUpdateConfigurationTargetNonAzureQueryArgs... nonAzureQueries) {
            return nonAzureQueries(List.of(nonAzureQueries));
        }

        public SoftwareUpdateConfigurationTargetArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy