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

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


/**
 * A2A Cross-Cluster Migration Policy creation input.
 * 
 */
public final class A2ACrossClusterMigrationPolicyCreationInputArgs extends com.pulumi.resources.ResourceArgs {

    public static final A2ACrossClusterMigrationPolicyCreationInputArgs Empty = new A2ACrossClusterMigrationPolicyCreationInputArgs();

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

    private A2ACrossClusterMigrationPolicyCreationInputArgs() {}

    private A2ACrossClusterMigrationPolicyCreationInputArgs(A2ACrossClusterMigrationPolicyCreationInputArgs $) {
        this.instanceType = $.instanceType;
    }

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

    public static final class Builder {
        private A2ACrossClusterMigrationPolicyCreationInputArgs $;

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

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

        /**
         * @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));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy