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

com.pulumi.azurenative.recoveryservices.inputs.AddRecoveryServicesProviderInputPropertiesArgs Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The properties of an add provider request.
 * 
 */
public final class AddRecoveryServicesProviderInputPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final AddRecoveryServicesProviderInputPropertiesArgs Empty = new AddRecoveryServicesProviderInputPropertiesArgs();

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

    /**
     * @return The identity provider input for DRA authentication.
     * 
     */
    public Output authenticationIdentityInput() {
        return this.authenticationIdentityInput;
    }

    /**
     * The Bios Id of the machine.
     * 
     */
    @Import(name="biosId")
    private @Nullable Output biosId;

    /**
     * @return The Bios Id of the machine.
     * 
     */
    public Optional> biosId() {
        return Optional.ofNullable(this.biosId);
    }

    /**
     * The identity provider input for data plane authentication.
     * 
     */
    @Import(name="dataPlaneAuthenticationIdentityInput")
    private @Nullable Output dataPlaneAuthenticationIdentityInput;

    /**
     * @return The identity provider input for data plane authentication.
     * 
     */
    public Optional> dataPlaneAuthenticationIdentityInput() {
        return Optional.ofNullable(this.dataPlaneAuthenticationIdentityInput);
    }

    /**
     * The Id of the machine where the provider is getting added.
     * 
     */
    @Import(name="machineId")
    private @Nullable Output machineId;

    /**
     * @return The Id of the machine where the provider is getting added.
     * 
     */
    public Optional> machineId() {
        return Optional.ofNullable(this.machineId);
    }

    /**
     * The name of the machine where the provider is getting added.
     * 
     */
    @Import(name="machineName", required=true)
    private Output machineName;

    /**
     * @return The name of the machine where the provider is getting added.
     * 
     */
    public Output machineName() {
        return this.machineName;
    }

    /**
     * The identity provider input for resource access.
     * 
     */
    @Import(name="resourceAccessIdentityInput", required=true)
    private Output resourceAccessIdentityInput;

    /**
     * @return The identity provider input for resource access.
     * 
     */
    public Output resourceAccessIdentityInput() {
        return this.resourceAccessIdentityInput;
    }

    private AddRecoveryServicesProviderInputPropertiesArgs() {}

    private AddRecoveryServicesProviderInputPropertiesArgs(AddRecoveryServicesProviderInputPropertiesArgs $) {
        this.authenticationIdentityInput = $.authenticationIdentityInput;
        this.biosId = $.biosId;
        this.dataPlaneAuthenticationIdentityInput = $.dataPlaneAuthenticationIdentityInput;
        this.machineId = $.machineId;
        this.machineName = $.machineName;
        this.resourceAccessIdentityInput = $.resourceAccessIdentityInput;
    }

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

    public static final class Builder {
        private AddRecoveryServicesProviderInputPropertiesArgs $;

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

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

        /**
         * @param authenticationIdentityInput The identity provider input for DRA authentication.
         * 
         * @return builder
         * 
         */
        public Builder authenticationIdentityInput(Output authenticationIdentityInput) {
            $.authenticationIdentityInput = authenticationIdentityInput;
            return this;
        }

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

        /**
         * @param biosId The Bios Id of the machine.
         * 
         * @return builder
         * 
         */
        public Builder biosId(@Nullable Output biosId) {
            $.biosId = biosId;
            return this;
        }

        /**
         * @param biosId The Bios Id of the machine.
         * 
         * @return builder
         * 
         */
        public Builder biosId(String biosId) {
            return biosId(Output.of(biosId));
        }

        /**
         * @param dataPlaneAuthenticationIdentityInput The identity provider input for data plane authentication.
         * 
         * @return builder
         * 
         */
        public Builder dataPlaneAuthenticationIdentityInput(@Nullable Output dataPlaneAuthenticationIdentityInput) {
            $.dataPlaneAuthenticationIdentityInput = dataPlaneAuthenticationIdentityInput;
            return this;
        }

        /**
         * @param dataPlaneAuthenticationIdentityInput The identity provider input for data plane authentication.
         * 
         * @return builder
         * 
         */
        public Builder dataPlaneAuthenticationIdentityInput(IdentityProviderInputArgs dataPlaneAuthenticationIdentityInput) {
            return dataPlaneAuthenticationIdentityInput(Output.of(dataPlaneAuthenticationIdentityInput));
        }

        /**
         * @param machineId The Id of the machine where the provider is getting added.
         * 
         * @return builder
         * 
         */
        public Builder machineId(@Nullable Output machineId) {
            $.machineId = machineId;
            return this;
        }

        /**
         * @param machineId The Id of the machine where the provider is getting added.
         * 
         * @return builder
         * 
         */
        public Builder machineId(String machineId) {
            return machineId(Output.of(machineId));
        }

        /**
         * @param machineName The name of the machine where the provider is getting added.
         * 
         * @return builder
         * 
         */
        public Builder machineName(Output machineName) {
            $.machineName = machineName;
            return this;
        }

        /**
         * @param machineName The name of the machine where the provider is getting added.
         * 
         * @return builder
         * 
         */
        public Builder machineName(String machineName) {
            return machineName(Output.of(machineName));
        }

        /**
         * @param resourceAccessIdentityInput The identity provider input for resource access.
         * 
         * @return builder
         * 
         */
        public Builder resourceAccessIdentityInput(Output resourceAccessIdentityInput) {
            $.resourceAccessIdentityInput = resourceAccessIdentityInput;
            return this;
        }

        /**
         * @param resourceAccessIdentityInput The identity provider input for resource access.
         * 
         * @return builder
         * 
         */
        public Builder resourceAccessIdentityInput(IdentityProviderInputArgs resourceAccessIdentityInput) {
            return resourceAccessIdentityInput(Output.of(resourceAccessIdentityInput));
        }

        public AddRecoveryServicesProviderInputPropertiesArgs build() {
            if ($.authenticationIdentityInput == null) {
                throw new MissingRequiredPropertyException("AddRecoveryServicesProviderInputPropertiesArgs", "authenticationIdentityInput");
            }
            if ($.machineName == null) {
                throw new MissingRequiredPropertyException("AddRecoveryServicesProviderInputPropertiesArgs", "machineName");
            }
            if ($.resourceAccessIdentityInput == null) {
                throw new MissingRequiredPropertyException("AddRecoveryServicesProviderInputPropertiesArgs", "resourceAccessIdentityInput");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy