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

com.pulumi.azure.siterecovery.outputs.ReplicationRecoveryPlanAzureToAzureSettings 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.azure.siterecovery.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ReplicationRecoveryPlanAzureToAzureSettings {
    /**
     * @return The Edge Zone within the Azure Region where the VM exists. Changing this forces a new Site Recovery Replication Recovery Plan to be created.
     * 
     */
    private @Nullable String primaryEdgeZone;
    /**
     * @return The Availability Zone in which the VM is located. Changing this forces a new Site Recovery Replication Recovery Plan to be created.
     * 
     */
    private @Nullable String primaryZone;
    /**
     * @return The Edge Zone within the Azure Region where the VM is recovered. Changing this forces a new Site Recovery Replication Recovery Plan to be created.
     * 
     * > **Note:** `primary_edge_zone` and `recovery_edge_zone` must be specified together.
     * 
     */
    private @Nullable String recoveryEdgeZone;
    /**
     * @return The Availability Zone in which the VM is recovered. Changing this forces a new Site Recovery Replication Recovery Plan to be created.
     * 
     * > **Note:** `primary_zone` and `recovery_zone` must be specified together.
     * 
     */
    private @Nullable String recoveryZone;

    private ReplicationRecoveryPlanAzureToAzureSettings() {}
    /**
     * @return The Edge Zone within the Azure Region where the VM exists. Changing this forces a new Site Recovery Replication Recovery Plan to be created.
     * 
     */
    public Optional primaryEdgeZone() {
        return Optional.ofNullable(this.primaryEdgeZone);
    }
    /**
     * @return The Availability Zone in which the VM is located. Changing this forces a new Site Recovery Replication Recovery Plan to be created.
     * 
     */
    public Optional primaryZone() {
        return Optional.ofNullable(this.primaryZone);
    }
    /**
     * @return The Edge Zone within the Azure Region where the VM is recovered. Changing this forces a new Site Recovery Replication Recovery Plan to be created.
     * 
     * > **Note:** `primary_edge_zone` and `recovery_edge_zone` must be specified together.
     * 
     */
    public Optional recoveryEdgeZone() {
        return Optional.ofNullable(this.recoveryEdgeZone);
    }
    /**
     * @return The Availability Zone in which the VM is recovered. Changing this forces a new Site Recovery Replication Recovery Plan to be created.
     * 
     * > **Note:** `primary_zone` and `recovery_zone` must be specified together.
     * 
     */
    public Optional recoveryZone() {
        return Optional.ofNullable(this.recoveryZone);
    }

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

    public static Builder builder(ReplicationRecoveryPlanAzureToAzureSettings defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String primaryEdgeZone;
        private @Nullable String primaryZone;
        private @Nullable String recoveryEdgeZone;
        private @Nullable String recoveryZone;
        public Builder() {}
        public Builder(ReplicationRecoveryPlanAzureToAzureSettings defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.primaryEdgeZone = defaults.primaryEdgeZone;
    	      this.primaryZone = defaults.primaryZone;
    	      this.recoveryEdgeZone = defaults.recoveryEdgeZone;
    	      this.recoveryZone = defaults.recoveryZone;
        }

        @CustomType.Setter
        public Builder primaryEdgeZone(@Nullable String primaryEdgeZone) {

            this.primaryEdgeZone = primaryEdgeZone;
            return this;
        }
        @CustomType.Setter
        public Builder primaryZone(@Nullable String primaryZone) {

            this.primaryZone = primaryZone;
            return this;
        }
        @CustomType.Setter
        public Builder recoveryEdgeZone(@Nullable String recoveryEdgeZone) {

            this.recoveryEdgeZone = recoveryEdgeZone;
            return this;
        }
        @CustomType.Setter
        public Builder recoveryZone(@Nullable String recoveryZone) {

            this.recoveryZone = recoveryZone;
            return this;
        }
        public ReplicationRecoveryPlanAzureToAzureSettings build() {
            final var _resultValue = new ReplicationRecoveryPlanAzureToAzureSettings();
            _resultValue.primaryEdgeZone = primaryEdgeZone;
            _resultValue.primaryZone = primaryZone;
            _resultValue.recoveryEdgeZone = recoveryEdgeZone;
            _resultValue.recoveryZone = recoveryZone;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy