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

com.pulumi.azurenative.dataprotection.outputs.PolicyParametersResponse 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.outputs;

import com.pulumi.azurenative.dataprotection.outputs.AzureOperationalStoreParametersResponse;
import com.pulumi.azurenative.dataprotection.outputs.BlobBackupDatasourceParametersResponse;
import com.pulumi.azurenative.dataprotection.outputs.KubernetesClusterBackupDatasourceParametersResponse;
import com.pulumi.core.Either;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class PolicyParametersResponse {
    /**
     * @return Gets or sets the Backup Data Source Parameters
     * 
     */
    private @Nullable List> backupDatasourceParametersList;
    /**
     * @return Gets or sets the DataStore Parameters
     * 
     */
    private @Nullable List dataStoreParametersList;

    private PolicyParametersResponse() {}
    /**
     * @return Gets or sets the Backup Data Source Parameters
     * 
     */
    public List> backupDatasourceParametersList() {
        return this.backupDatasourceParametersList == null ? List.of() : this.backupDatasourceParametersList;
    }
    /**
     * @return Gets or sets the DataStore Parameters
     * 
     */
    public List dataStoreParametersList() {
        return this.dataStoreParametersList == null ? List.of() : this.dataStoreParametersList;
    }

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

    public static Builder builder(PolicyParametersResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List> backupDatasourceParametersList;
        private @Nullable List dataStoreParametersList;
        public Builder() {}
        public Builder(PolicyParametersResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.backupDatasourceParametersList = defaults.backupDatasourceParametersList;
    	      this.dataStoreParametersList = defaults.dataStoreParametersList;
        }

        @CustomType.Setter
        public Builder backupDatasourceParametersList(@Nullable List> backupDatasourceParametersList) {

            this.backupDatasourceParametersList = backupDatasourceParametersList;
            return this;
        }
        public Builder backupDatasourceParametersList(Either... backupDatasourceParametersList) {
            return backupDatasourceParametersList(List.of(backupDatasourceParametersList));
        }
        @CustomType.Setter
        public Builder dataStoreParametersList(@Nullable List dataStoreParametersList) {

            this.dataStoreParametersList = dataStoreParametersList;
            return this;
        }
        public Builder dataStoreParametersList(AzureOperationalStoreParametersResponse... dataStoreParametersList) {
            return dataStoreParametersList(List.of(dataStoreParametersList));
        }
        public PolicyParametersResponse build() {
            final var _resultValue = new PolicyParametersResponse();
            _resultValue.backupDatasourceParametersList = backupDatasourceParametersList;
            _resultValue.dataStoreParametersList = dataStoreParametersList;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy