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

com.pulumi.azurenative.workloads.inputs.SettingsArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.workloads.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Common settings field for backup management
 * 
 */
public final class SettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final SettingsArgs Empty = new SettingsArgs();

    /**
     * Workload compression flag. This has been added so that 'isSqlCompression'
     * will be deprecated once clients upgrade to consider this flag.
     * 
     */
    @Import(name="isCompression")
    private @Nullable Output isCompression;

    /**
     * @return Workload compression flag. This has been added so that 'isSqlCompression'
     * will be deprecated once clients upgrade to consider this flag.
     * 
     */
    public Optional> isCompression() {
        return Optional.ofNullable(this.isCompression);
    }

    /**
     * SQL compression flag
     * 
     */
    @Import(name="issqlcompression")
    private @Nullable Output issqlcompression;

    /**
     * @return SQL compression flag
     * 
     */
    public Optional> issqlcompression() {
        return Optional.ofNullable(this.issqlcompression);
    }

    /**
     * TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
     * 
     */
    @Import(name="timeZone")
    private @Nullable Output timeZone;

    /**
     * @return TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
     * 
     */
    public Optional> timeZone() {
        return Optional.ofNullable(this.timeZone);
    }

    private SettingsArgs() {}

    private SettingsArgs(SettingsArgs $) {
        this.isCompression = $.isCompression;
        this.issqlcompression = $.issqlcompression;
        this.timeZone = $.timeZone;
    }

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

    public static final class Builder {
        private SettingsArgs $;

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

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

        /**
         * @param isCompression Workload compression flag. This has been added so that 'isSqlCompression'
         * will be deprecated once clients upgrade to consider this flag.
         * 
         * @return builder
         * 
         */
        public Builder isCompression(@Nullable Output isCompression) {
            $.isCompression = isCompression;
            return this;
        }

        /**
         * @param isCompression Workload compression flag. This has been added so that 'isSqlCompression'
         * will be deprecated once clients upgrade to consider this flag.
         * 
         * @return builder
         * 
         */
        public Builder isCompression(Boolean isCompression) {
            return isCompression(Output.of(isCompression));
        }

        /**
         * @param issqlcompression SQL compression flag
         * 
         * @return builder
         * 
         */
        public Builder issqlcompression(@Nullable Output issqlcompression) {
            $.issqlcompression = issqlcompression;
            return this;
        }

        /**
         * @param issqlcompression SQL compression flag
         * 
         * @return builder
         * 
         */
        public Builder issqlcompression(Boolean issqlcompression) {
            return issqlcompression(Output.of(issqlcompression));
        }

        /**
         * @param timeZone TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
         * 
         * @return builder
         * 
         */
        public Builder timeZone(@Nullable Output timeZone) {
            $.timeZone = timeZone;
            return this;
        }

        /**
         * @param timeZone TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
         * 
         * @return builder
         * 
         */
        public Builder timeZone(String timeZone) {
            return timeZone(Output.of(timeZone));
        }

        public SettingsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy