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

com.pulumi.azurenative.recoveryservices.inputs.VMwareCbtPolicyCreationInputArgs 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.recoveryservices.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * VMware Cbt policy creation input.
 * 
 */
public final class VMwareCbtPolicyCreationInputArgs extends com.pulumi.resources.ResourceArgs {

    public static final VMwareCbtPolicyCreationInputArgs Empty = new VMwareCbtPolicyCreationInputArgs();

    /**
     * The app consistent snapshot frequency (in minutes).
     * 
     */
    @Import(name="appConsistentFrequencyInMinutes")
    private @Nullable Output appConsistentFrequencyInMinutes;

    /**
     * @return The app consistent snapshot frequency (in minutes).
     * 
     */
    public Optional> appConsistentFrequencyInMinutes() {
        return Optional.ofNullable(this.appConsistentFrequencyInMinutes);
    }

    /**
     * The crash consistent snapshot frequency (in minutes).
     * 
     */
    @Import(name="crashConsistentFrequencyInMinutes")
    private @Nullable Output crashConsistentFrequencyInMinutes;

    /**
     * @return The crash consistent snapshot frequency (in minutes).
     * 
     */
    public Optional> crashConsistentFrequencyInMinutes() {
        return Optional.ofNullable(this.crashConsistentFrequencyInMinutes);
    }

    /**
     * The class type.
     * Expected value is 'VMwareCbt'.
     * 
     */
    @Import(name="instanceType", required=true)
    private Output instanceType;

    /**
     * @return The class type.
     * Expected value is 'VMwareCbt'.
     * 
     */
    public Output instanceType() {
        return this.instanceType;
    }

    /**
     * The duration in minutes until which the recovery points need to be stored.
     * 
     */
    @Import(name="recoveryPointHistoryInMinutes")
    private @Nullable Output recoveryPointHistoryInMinutes;

    /**
     * @return The duration in minutes until which the recovery points need to be stored.
     * 
     */
    public Optional> recoveryPointHistoryInMinutes() {
        return Optional.ofNullable(this.recoveryPointHistoryInMinutes);
    }

    private VMwareCbtPolicyCreationInputArgs() {}

    private VMwareCbtPolicyCreationInputArgs(VMwareCbtPolicyCreationInputArgs $) {
        this.appConsistentFrequencyInMinutes = $.appConsistentFrequencyInMinutes;
        this.crashConsistentFrequencyInMinutes = $.crashConsistentFrequencyInMinutes;
        this.instanceType = $.instanceType;
        this.recoveryPointHistoryInMinutes = $.recoveryPointHistoryInMinutes;
    }

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

    public static final class Builder {
        private VMwareCbtPolicyCreationInputArgs $;

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

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

        /**
         * @param appConsistentFrequencyInMinutes The app consistent snapshot frequency (in minutes).
         * 
         * @return builder
         * 
         */
        public Builder appConsistentFrequencyInMinutes(@Nullable Output appConsistentFrequencyInMinutes) {
            $.appConsistentFrequencyInMinutes = appConsistentFrequencyInMinutes;
            return this;
        }

        /**
         * @param appConsistentFrequencyInMinutes The app consistent snapshot frequency (in minutes).
         * 
         * @return builder
         * 
         */
        public Builder appConsistentFrequencyInMinutes(Integer appConsistentFrequencyInMinutes) {
            return appConsistentFrequencyInMinutes(Output.of(appConsistentFrequencyInMinutes));
        }

        /**
         * @param crashConsistentFrequencyInMinutes The crash consistent snapshot frequency (in minutes).
         * 
         * @return builder
         * 
         */
        public Builder crashConsistentFrequencyInMinutes(@Nullable Output crashConsistentFrequencyInMinutes) {
            $.crashConsistentFrequencyInMinutes = crashConsistentFrequencyInMinutes;
            return this;
        }

        /**
         * @param crashConsistentFrequencyInMinutes The crash consistent snapshot frequency (in minutes).
         * 
         * @return builder
         * 
         */
        public Builder crashConsistentFrequencyInMinutes(Integer crashConsistentFrequencyInMinutes) {
            return crashConsistentFrequencyInMinutes(Output.of(crashConsistentFrequencyInMinutes));
        }

        /**
         * @param instanceType The class type.
         * Expected value is 'VMwareCbt'.
         * 
         * @return builder
         * 
         */
        public Builder instanceType(Output instanceType) {
            $.instanceType = instanceType;
            return this;
        }

        /**
         * @param instanceType The class type.
         * Expected value is 'VMwareCbt'.
         * 
         * @return builder
         * 
         */
        public Builder instanceType(String instanceType) {
            return instanceType(Output.of(instanceType));
        }

        /**
         * @param recoveryPointHistoryInMinutes The duration in minutes until which the recovery points need to be stored.
         * 
         * @return builder
         * 
         */
        public Builder recoveryPointHistoryInMinutes(@Nullable Output recoveryPointHistoryInMinutes) {
            $.recoveryPointHistoryInMinutes = recoveryPointHistoryInMinutes;
            return this;
        }

        /**
         * @param recoveryPointHistoryInMinutes The duration in minutes until which the recovery points need to be stored.
         * 
         * @return builder
         * 
         */
        public Builder recoveryPointHistoryInMinutes(Integer recoveryPointHistoryInMinutes) {
            return recoveryPointHistoryInMinutes(Output.of(recoveryPointHistoryInMinutes));
        }

        public VMwareCbtPolicyCreationInputArgs build() {
            $.instanceType = Codegen.stringProp("instanceType").output().arg($.instanceType).require();
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy