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

com.pulumi.azurenative.servicelinker.inputs.VNetSolutionArgs 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.servicelinker.inputs;

import com.pulumi.azurenative.servicelinker.enums.DeleteOrUpdateBehavior;
import com.pulumi.azurenative.servicelinker.enums.VNetSolutionType;
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;


/**
 * The VNet solution for linker
 * 
 */
public final class VNetSolutionArgs extends com.pulumi.resources.ResourceArgs {

    public static final VNetSolutionArgs Empty = new VNetSolutionArgs();

    /**
     * Indicates whether to clean up previous operation when Linker is updating or deleting
     * 
     */
    @Import(name="deleteOrUpdateBehavior")
    private @Nullable Output> deleteOrUpdateBehavior;

    /**
     * @return Indicates whether to clean up previous operation when Linker is updating or deleting
     * 
     */
    public Optional>> deleteOrUpdateBehavior() {
        return Optional.ofNullable(this.deleteOrUpdateBehavior);
    }

    /**
     * Type of VNet solution.
     * 
     */
    @Import(name="type")
    private @Nullable Output> type;

    /**
     * @return Type of VNet solution.
     * 
     */
    public Optional>> type() {
        return Optional.ofNullable(this.type);
    }

    private VNetSolutionArgs() {}

    private VNetSolutionArgs(VNetSolutionArgs $) {
        this.deleteOrUpdateBehavior = $.deleteOrUpdateBehavior;
        this.type = $.type;
    }

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

    public static final class Builder {
        private VNetSolutionArgs $;

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

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

        /**
         * @param deleteOrUpdateBehavior Indicates whether to clean up previous operation when Linker is updating or deleting
         * 
         * @return builder
         * 
         */
        public Builder deleteOrUpdateBehavior(@Nullable Output> deleteOrUpdateBehavior) {
            $.deleteOrUpdateBehavior = deleteOrUpdateBehavior;
            return this;
        }

        /**
         * @param deleteOrUpdateBehavior Indicates whether to clean up previous operation when Linker is updating or deleting
         * 
         * @return builder
         * 
         */
        public Builder deleteOrUpdateBehavior(Either deleteOrUpdateBehavior) {
            return deleteOrUpdateBehavior(Output.of(deleteOrUpdateBehavior));
        }

        /**
         * @param deleteOrUpdateBehavior Indicates whether to clean up previous operation when Linker is updating or deleting
         * 
         * @return builder
         * 
         */
        public Builder deleteOrUpdateBehavior(String deleteOrUpdateBehavior) {
            return deleteOrUpdateBehavior(Either.ofLeft(deleteOrUpdateBehavior));
        }

        /**
         * @param deleteOrUpdateBehavior Indicates whether to clean up previous operation when Linker is updating or deleting
         * 
         * @return builder
         * 
         */
        public Builder deleteOrUpdateBehavior(DeleteOrUpdateBehavior deleteOrUpdateBehavior) {
            return deleteOrUpdateBehavior(Either.ofRight(deleteOrUpdateBehavior));
        }

        /**
         * @param type Type of VNet solution.
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output> type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Type of VNet solution.
         * 
         * @return builder
         * 
         */
        public Builder type(Either type) {
            return type(Output.of(type));
        }

        /**
         * @param type Type of VNet solution.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Either.ofLeft(type));
        }

        /**
         * @param type Type of VNet solution.
         * 
         * @return builder
         * 
         */
        public Builder type(VNetSolutionType type) {
            return type(Either.ofRight(type));
        }

        public VNetSolutionArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy