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

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

// *** 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;


/**
 * A2A Cross-Cluster Migration enable protection input.
 * 
 */
public final class A2ACrossClusterMigrationEnableProtectionInputArgs extends com.pulumi.resources.ResourceArgs {

    public static final A2ACrossClusterMigrationEnableProtectionInputArgs Empty = new A2ACrossClusterMigrationEnableProtectionInputArgs();

    /**
     * The fabric specific object Id of the virtual machine.
     * 
     */
    @Import(name="fabricObjectId")
    private @Nullable Output fabricObjectId;

    /**
     * @return The fabric specific object Id of the virtual machine.
     * 
     */
    public Optional> fabricObjectId() {
        return Optional.ofNullable(this.fabricObjectId);
    }

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

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

    /**
     * The recovery container Id.
     * 
     */
    @Import(name="recoveryContainerId")
    private @Nullable Output recoveryContainerId;

    /**
     * @return The recovery container Id.
     * 
     */
    public Optional> recoveryContainerId() {
        return Optional.ofNullable(this.recoveryContainerId);
    }

    private A2ACrossClusterMigrationEnableProtectionInputArgs() {}

    private A2ACrossClusterMigrationEnableProtectionInputArgs(A2ACrossClusterMigrationEnableProtectionInputArgs $) {
        this.fabricObjectId = $.fabricObjectId;
        this.instanceType = $.instanceType;
        this.recoveryContainerId = $.recoveryContainerId;
    }

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

    public static final class Builder {
        private A2ACrossClusterMigrationEnableProtectionInputArgs $;

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

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

        /**
         * @param fabricObjectId The fabric specific object Id of the virtual machine.
         * 
         * @return builder
         * 
         */
        public Builder fabricObjectId(@Nullable Output fabricObjectId) {
            $.fabricObjectId = fabricObjectId;
            return this;
        }

        /**
         * @param fabricObjectId The fabric specific object Id of the virtual machine.
         * 
         * @return builder
         * 
         */
        public Builder fabricObjectId(String fabricObjectId) {
            return fabricObjectId(Output.of(fabricObjectId));
        }

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

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

        /**
         * @param recoveryContainerId The recovery container Id.
         * 
         * @return builder
         * 
         */
        public Builder recoveryContainerId(@Nullable Output recoveryContainerId) {
            $.recoveryContainerId = recoveryContainerId;
            return this;
        }

        /**
         * @param recoveryContainerId The recovery container Id.
         * 
         * @return builder
         * 
         */
        public Builder recoveryContainerId(String recoveryContainerId) {
            return recoveryContainerId(Output.of(recoveryContainerId));
        }

        public A2ACrossClusterMigrationEnableProtectionInputArgs build() {
            $.instanceType = Codegen.stringProp("instanceType").output().arg($.instanceType).require();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy