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

com.pulumi.azurenative.recoveryservices.inputs.VMwareV2FabricCreationInputArgs 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.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * VMwareV2 fabric provider specific settings.
 * 
 */
public final class VMwareV2FabricCreationInputArgs extends com.pulumi.resources.ResourceArgs {

    public static final VMwareV2FabricCreationInputArgs Empty = new VMwareV2FabricCreationInputArgs();

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

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

    /**
     * The ARM Id of the migration solution.
     * 
     */
    @Import(name="migrationSolutionId", required=true)
    private Output migrationSolutionId;

    /**
     * @return The ARM Id of the migration solution.
     * 
     */
    public Output migrationSolutionId() {
        return this.migrationSolutionId;
    }

    /**
     * The ARM Id of the physical site.
     * 
     */
    @Import(name="physicalSiteId")
    private @Nullable Output physicalSiteId;

    /**
     * @return The ARM Id of the physical site.
     * 
     */
    public Optional> physicalSiteId() {
        return Optional.ofNullable(this.physicalSiteId);
    }

    /**
     * The ARM Id of the VMware site.
     * 
     */
    @Import(name="vmwareSiteId")
    private @Nullable Output vmwareSiteId;

    /**
     * @return The ARM Id of the VMware site.
     * 
     */
    public Optional> vmwareSiteId() {
        return Optional.ofNullable(this.vmwareSiteId);
    }

    private VMwareV2FabricCreationInputArgs() {}

    private VMwareV2FabricCreationInputArgs(VMwareV2FabricCreationInputArgs $) {
        this.instanceType = $.instanceType;
        this.migrationSolutionId = $.migrationSolutionId;
        this.physicalSiteId = $.physicalSiteId;
        this.vmwareSiteId = $.vmwareSiteId;
    }

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

    public static final class Builder {
        private VMwareV2FabricCreationInputArgs $;

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

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

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

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

        /**
         * @param migrationSolutionId The ARM Id of the migration solution.
         * 
         * @return builder
         * 
         */
        public Builder migrationSolutionId(Output migrationSolutionId) {
            $.migrationSolutionId = migrationSolutionId;
            return this;
        }

        /**
         * @param migrationSolutionId The ARM Id of the migration solution.
         * 
         * @return builder
         * 
         */
        public Builder migrationSolutionId(String migrationSolutionId) {
            return migrationSolutionId(Output.of(migrationSolutionId));
        }

        /**
         * @param physicalSiteId The ARM Id of the physical site.
         * 
         * @return builder
         * 
         */
        public Builder physicalSiteId(@Nullable Output physicalSiteId) {
            $.physicalSiteId = physicalSiteId;
            return this;
        }

        /**
         * @param physicalSiteId The ARM Id of the physical site.
         * 
         * @return builder
         * 
         */
        public Builder physicalSiteId(String physicalSiteId) {
            return physicalSiteId(Output.of(physicalSiteId));
        }

        /**
         * @param vmwareSiteId The ARM Id of the VMware site.
         * 
         * @return builder
         * 
         */
        public Builder vmwareSiteId(@Nullable Output vmwareSiteId) {
            $.vmwareSiteId = vmwareSiteId;
            return this;
        }

        /**
         * @param vmwareSiteId The ARM Id of the VMware site.
         * 
         * @return builder
         * 
         */
        public Builder vmwareSiteId(String vmwareSiteId) {
            return vmwareSiteId(Output.of(vmwareSiteId));
        }

        public VMwareV2FabricCreationInputArgs build() {
            $.instanceType = Codegen.stringProp("instanceType").output().arg($.instanceType).require();
            if ($.migrationSolutionId == null) {
                throw new MissingRequiredPropertyException("VMwareV2FabricCreationInputArgs", "migrationSolutionId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy