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

com.pulumi.azurenative.dataprotection.inputs.CrossSubscriptionRestoreSettingsArgs 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.enums.CrossSubscriptionRestoreState;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * CrossSubscriptionRestore Settings
 * 
 */
public final class CrossSubscriptionRestoreSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final CrossSubscriptionRestoreSettingsArgs Empty = new CrossSubscriptionRestoreSettingsArgs();

    /**
     * CrossSubscriptionRestore state
     * 
     */
    @Import(name="state")
    private @Nullable Output> state;

    /**
     * @return CrossSubscriptionRestore state
     * 
     */
    public Optional>> state() {
        return Optional.ofNullable(this.state);
    }

    private CrossSubscriptionRestoreSettingsArgs() {}

    private CrossSubscriptionRestoreSettingsArgs(CrossSubscriptionRestoreSettingsArgs $) {
        this.state = $.state;
    }

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

    public static final class Builder {
        private CrossSubscriptionRestoreSettingsArgs $;

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

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

        /**
         * @param state CrossSubscriptionRestore state
         * 
         * @return builder
         * 
         */
        public Builder state(@Nullable Output> state) {
            $.state = state;
            return this;
        }

        /**
         * @param state CrossSubscriptionRestore state
         * 
         * @return builder
         * 
         */
        public Builder state(Either state) {
            return state(Output.of(state));
        }

        /**
         * @param state CrossSubscriptionRestore state
         * 
         * @return builder
         * 
         */
        public Builder state(String state) {
            return state(Either.ofLeft(state));
        }

        /**
         * @param state CrossSubscriptionRestore state
         * 
         * @return builder
         * 
         */
        public Builder state(CrossSubscriptionRestoreState state) {
            return state(Either.ofRight(state));
        }

        public CrossSubscriptionRestoreSettingsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy