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

com.pulumi.azurenative.recoveryservices.outputs.AzureToAzureNetworkMappingSettingsResponse 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.outputs;

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

@CustomType
public final class AzureToAzureNetworkMappingSettingsResponse {
    /**
     * @return Gets the Instance type.
     * Expected value is 'AzureToAzure'.
     * 
     */
    private String instanceType;
    /**
     * @return The primary fabric location.
     * 
     */
    private @Nullable String primaryFabricLocation;
    /**
     * @return The recovery fabric location.
     * 
     */
    private @Nullable String recoveryFabricLocation;

    private AzureToAzureNetworkMappingSettingsResponse() {}
    /**
     * @return Gets the Instance type.
     * Expected value is 'AzureToAzure'.
     * 
     */
    public String instanceType() {
        return this.instanceType;
    }
    /**
     * @return The primary fabric location.
     * 
     */
    public Optional primaryFabricLocation() {
        return Optional.ofNullable(this.primaryFabricLocation);
    }
    /**
     * @return The recovery fabric location.
     * 
     */
    public Optional recoveryFabricLocation() {
        return Optional.ofNullable(this.recoveryFabricLocation);
    }

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

    public static Builder builder(AzureToAzureNetworkMappingSettingsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String instanceType;
        private @Nullable String primaryFabricLocation;
        private @Nullable String recoveryFabricLocation;
        public Builder() {}
        public Builder(AzureToAzureNetworkMappingSettingsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.instanceType = defaults.instanceType;
    	      this.primaryFabricLocation = defaults.primaryFabricLocation;
    	      this.recoveryFabricLocation = defaults.recoveryFabricLocation;
        }

        @CustomType.Setter
        public Builder instanceType(String instanceType) {
            if (instanceType == null) {
              throw new MissingRequiredPropertyException("AzureToAzureNetworkMappingSettingsResponse", "instanceType");
            }
            this.instanceType = instanceType;
            return this;
        }
        @CustomType.Setter
        public Builder primaryFabricLocation(@Nullable String primaryFabricLocation) {

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

            this.recoveryFabricLocation = recoveryFabricLocation;
            return this;
        }
        public AzureToAzureNetworkMappingSettingsResponse build() {
            final var _resultValue = new AzureToAzureNetworkMappingSettingsResponse();
            _resultValue.instanceType = instanceType;
            _resultValue.primaryFabricLocation = primaryFabricLocation;
            _resultValue.recoveryFabricLocation = recoveryFabricLocation;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy