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

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


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

    public static final InMageRcmFabricCreationInputArgs Empty = new InMageRcmFabricCreationInputArgs();

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

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

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

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

    /**
     * The identity provider input for source agent authentication.
     * 
     */
    @Import(name="sourceAgentIdentity", required=true)
    private Output sourceAgentIdentity;

    /**
     * @return The identity provider input for source agent authentication.
     * 
     */
    public Output sourceAgentIdentity() {
        return this.sourceAgentIdentity;
    }

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

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

    private InMageRcmFabricCreationInputArgs() {}

    private InMageRcmFabricCreationInputArgs(InMageRcmFabricCreationInputArgs $) {
        this.instanceType = $.instanceType;
        this.physicalSiteId = $.physicalSiteId;
        this.sourceAgentIdentity = $.sourceAgentIdentity;
        this.vmwareSiteId = $.vmwareSiteId;
    }

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

    public static final class Builder {
        private InMageRcmFabricCreationInputArgs $;

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

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

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

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

        /**
         * @param physicalSiteId The ARM Id of the physical site.
         * 
         * @return builder
         * 
         */
        public Builder physicalSiteId(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 sourceAgentIdentity The identity provider input for source agent authentication.
         * 
         * @return builder
         * 
         */
        public Builder sourceAgentIdentity(Output sourceAgentIdentity) {
            $.sourceAgentIdentity = sourceAgentIdentity;
            return this;
        }

        /**
         * @param sourceAgentIdentity The identity provider input for source agent authentication.
         * 
         * @return builder
         * 
         */
        public Builder sourceAgentIdentity(IdentityProviderInputArgs sourceAgentIdentity) {
            return sourceAgentIdentity(Output.of(sourceAgentIdentity));
        }

        /**
         * @param vmwareSiteId The ARM Id of the VMware site.
         * 
         * @return builder
         * 
         */
        public Builder vmwareSiteId(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 InMageRcmFabricCreationInputArgs build() {
            $.instanceType = Codegen.stringProp("instanceType").output().arg($.instanceType).require();
            if ($.physicalSiteId == null) {
                throw new MissingRequiredPropertyException("InMageRcmFabricCreationInputArgs", "physicalSiteId");
            }
            if ($.sourceAgentIdentity == null) {
                throw new MissingRequiredPropertyException("InMageRcmFabricCreationInputArgs", "sourceAgentIdentity");
            }
            if ($.vmwareSiteId == null) {
                throw new MissingRequiredPropertyException("InMageRcmFabricCreationInputArgs", "vmwareSiteId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy