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

com.pulumi.azurenative.dataprotection.inputs.PolicyParametersArgs 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.dataprotection.inputs;

import com.pulumi.azurenative.dataprotection.inputs.AzureOperationalStoreParametersArgs;
import com.pulumi.azurenative.dataprotection.inputs.BlobBackupDatasourceParametersArgs;
import com.pulumi.azurenative.dataprotection.inputs.KubernetesClusterBackupDatasourceParametersArgs;
import com.pulumi.core.Either;
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;


/**
 * Parameters in Policy
 * 
 */
public final class PolicyParametersArgs extends com.pulumi.resources.ResourceArgs {

    public static final PolicyParametersArgs Empty = new PolicyParametersArgs();

    /**
     * Gets or sets the Backup Data Source Parameters
     * 
     */
    @Import(name="backupDatasourceParametersList")
    private @Nullable Output>> backupDatasourceParametersList;

    /**
     * @return Gets or sets the Backup Data Source Parameters
     * 
     */
    public Optional>>> backupDatasourceParametersList() {
        return Optional.ofNullable(this.backupDatasourceParametersList);
    }

    /**
     * Gets or sets the DataStore Parameters
     * 
     */
    @Import(name="dataStoreParametersList")
    private @Nullable Output> dataStoreParametersList;

    /**
     * @return Gets or sets the DataStore Parameters
     * 
     */
    public Optional>> dataStoreParametersList() {
        return Optional.ofNullable(this.dataStoreParametersList);
    }

    private PolicyParametersArgs() {}

    private PolicyParametersArgs(PolicyParametersArgs $) {
        this.backupDatasourceParametersList = $.backupDatasourceParametersList;
        this.dataStoreParametersList = $.dataStoreParametersList;
    }

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

    public static final class Builder {
        private PolicyParametersArgs $;

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

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

        /**
         * @param backupDatasourceParametersList Gets or sets the Backup Data Source Parameters
         * 
         * @return builder
         * 
         */
        public Builder backupDatasourceParametersList(@Nullable Output>> backupDatasourceParametersList) {
            $.backupDatasourceParametersList = backupDatasourceParametersList;
            return this;
        }

        /**
         * @param backupDatasourceParametersList Gets or sets the Backup Data Source Parameters
         * 
         * @return builder
         * 
         */
        public Builder backupDatasourceParametersList(List> backupDatasourceParametersList) {
            return backupDatasourceParametersList(Output.of(backupDatasourceParametersList));
        }

        /**
         * @param backupDatasourceParametersList Gets or sets the Backup Data Source Parameters
         * 
         * @return builder
         * 
         */
        public Builder backupDatasourceParametersList(Either... backupDatasourceParametersList) {
            return backupDatasourceParametersList(List.of(backupDatasourceParametersList));
        }

        /**
         * @param dataStoreParametersList Gets or sets the DataStore Parameters
         * 
         * @return builder
         * 
         */
        public Builder dataStoreParametersList(@Nullable Output> dataStoreParametersList) {
            $.dataStoreParametersList = dataStoreParametersList;
            return this;
        }

        /**
         * @param dataStoreParametersList Gets or sets the DataStore Parameters
         * 
         * @return builder
         * 
         */
        public Builder dataStoreParametersList(List dataStoreParametersList) {
            return dataStoreParametersList(Output.of(dataStoreParametersList));
        }

        /**
         * @param dataStoreParametersList Gets or sets the DataStore Parameters
         * 
         * @return builder
         * 
         */
        public Builder dataStoreParametersList(AzureOperationalStoreParametersArgs... dataStoreParametersList) {
            return dataStoreParametersList(List.of(dataStoreParametersList));
        }

        public PolicyParametersArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy