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

com.pulumi.azure.siterecovery.inputs.ProtectionContainerMappingState Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.siterecovery.inputs;

import com.pulumi.azure.siterecovery.inputs.ProtectionContainerMappingAutomaticUpdateArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ProtectionContainerMappingState extends com.pulumi.resources.ResourceArgs {

    public static final ProtectionContainerMappingState Empty = new ProtectionContainerMappingState();

    /**
     * a `automatic_update` block defined as below.
     * 
     */
    @Import(name="automaticUpdate")
    private @Nullable Output automaticUpdate;

    /**
     * @return a `automatic_update` block defined as below.
     * 
     */
    public Optional> automaticUpdate() {
        return Optional.ofNullable(this.automaticUpdate);
    }

    /**
     * The name of the protection container mapping. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the protection container mapping. Changing this forces a new resource to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Name of fabric that should contains the protection container to map. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="recoveryFabricName")
    private @Nullable Output recoveryFabricName;

    /**
     * @return Name of fabric that should contains the protection container to map. Changing this forces a new resource to be created.
     * 
     */
    public Optional> recoveryFabricName() {
        return Optional.ofNullable(this.recoveryFabricName);
    }

    /**
     * Id of the policy to use for this mapping. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="recoveryReplicationPolicyId")
    private @Nullable Output recoveryReplicationPolicyId;

    /**
     * @return Id of the policy to use for this mapping. Changing this forces a new resource to be created.
     * 
     */
    public Optional> recoveryReplicationPolicyId() {
        return Optional.ofNullable(this.recoveryReplicationPolicyId);
    }

    /**
     * Name of the source protection container to map. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="recoverySourceProtectionContainerName")
    private @Nullable Output recoverySourceProtectionContainerName;

    /**
     * @return Name of the source protection container to map. Changing this forces a new resource to be created.
     * 
     */
    public Optional> recoverySourceProtectionContainerName() {
        return Optional.ofNullable(this.recoverySourceProtectionContainerName);
    }

    /**
     * Id of target protection container to map to. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="recoveryTargetProtectionContainerId")
    private @Nullable Output recoveryTargetProtectionContainerId;

    /**
     * @return Id of target protection container to map to. Changing this forces a new resource to be created.
     * 
     */
    public Optional> recoveryTargetProtectionContainerId() {
        return Optional.ofNullable(this.recoveryTargetProtectionContainerId);
    }

    /**
     * The name of the vault that should be updated. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="recoveryVaultName")
    private @Nullable Output recoveryVaultName;

    /**
     * @return The name of the vault that should be updated. Changing this forces a new resource to be created.
     * 
     */
    public Optional> recoveryVaultName() {
        return Optional.ofNullable(this.recoveryVaultName);
    }

    /**
     * Name of the resource group where the vault that should be updated is located. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="resourceGroupName")
    private @Nullable Output resourceGroupName;

    /**
     * @return Name of the resource group where the vault that should be updated is located. Changing this forces a new resource to be created.
     * 
     */
    public Optional> resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }

    private ProtectionContainerMappingState() {}

    private ProtectionContainerMappingState(ProtectionContainerMappingState $) {
        this.automaticUpdate = $.automaticUpdate;
        this.name = $.name;
        this.recoveryFabricName = $.recoveryFabricName;
        this.recoveryReplicationPolicyId = $.recoveryReplicationPolicyId;
        this.recoverySourceProtectionContainerName = $.recoverySourceProtectionContainerName;
        this.recoveryTargetProtectionContainerId = $.recoveryTargetProtectionContainerId;
        this.recoveryVaultName = $.recoveryVaultName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private ProtectionContainerMappingState $;

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

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

        /**
         * @param automaticUpdate a `automatic_update` block defined as below.
         * 
         * @return builder
         * 
         */
        public Builder automaticUpdate(@Nullable Output automaticUpdate) {
            $.automaticUpdate = automaticUpdate;
            return this;
        }

        /**
         * @param automaticUpdate a `automatic_update` block defined as below.
         * 
         * @return builder
         * 
         */
        public Builder automaticUpdate(ProtectionContainerMappingAutomaticUpdateArgs automaticUpdate) {
            return automaticUpdate(Output.of(automaticUpdate));
        }

        /**
         * @param name The name of the protection container mapping. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the protection container mapping. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param recoveryFabricName Name of fabric that should contains the protection container to map. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder recoveryFabricName(@Nullable Output recoveryFabricName) {
            $.recoveryFabricName = recoveryFabricName;
            return this;
        }

        /**
         * @param recoveryFabricName Name of fabric that should contains the protection container to map. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder recoveryFabricName(String recoveryFabricName) {
            return recoveryFabricName(Output.of(recoveryFabricName));
        }

        /**
         * @param recoveryReplicationPolicyId Id of the policy to use for this mapping. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder recoveryReplicationPolicyId(@Nullable Output recoveryReplicationPolicyId) {
            $.recoveryReplicationPolicyId = recoveryReplicationPolicyId;
            return this;
        }

        /**
         * @param recoveryReplicationPolicyId Id of the policy to use for this mapping. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder recoveryReplicationPolicyId(String recoveryReplicationPolicyId) {
            return recoveryReplicationPolicyId(Output.of(recoveryReplicationPolicyId));
        }

        /**
         * @param recoverySourceProtectionContainerName Name of the source protection container to map. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder recoverySourceProtectionContainerName(@Nullable Output recoverySourceProtectionContainerName) {
            $.recoverySourceProtectionContainerName = recoverySourceProtectionContainerName;
            return this;
        }

        /**
         * @param recoverySourceProtectionContainerName Name of the source protection container to map. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder recoverySourceProtectionContainerName(String recoverySourceProtectionContainerName) {
            return recoverySourceProtectionContainerName(Output.of(recoverySourceProtectionContainerName));
        }

        /**
         * @param recoveryTargetProtectionContainerId Id of target protection container to map to. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder recoveryTargetProtectionContainerId(@Nullable Output recoveryTargetProtectionContainerId) {
            $.recoveryTargetProtectionContainerId = recoveryTargetProtectionContainerId;
            return this;
        }

        /**
         * @param recoveryTargetProtectionContainerId Id of target protection container to map to. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder recoveryTargetProtectionContainerId(String recoveryTargetProtectionContainerId) {
            return recoveryTargetProtectionContainerId(Output.of(recoveryTargetProtectionContainerId));
        }

        /**
         * @param recoveryVaultName The name of the vault that should be updated. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder recoveryVaultName(@Nullable Output recoveryVaultName) {
            $.recoveryVaultName = recoveryVaultName;
            return this;
        }

        /**
         * @param recoveryVaultName The name of the vault that should be updated. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder recoveryVaultName(String recoveryVaultName) {
            return recoveryVaultName(Output.of(recoveryVaultName));
        }

        /**
         * @param resourceGroupName Name of the resource group where the vault that should be updated is located. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(@Nullable Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName Name of the resource group where the vault that should be updated is located. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        public ProtectionContainerMappingState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy