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

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

import com.pulumi.azurenative.recoveryservices.outputs.AzureToAzureNetworkMappingSettingsResponse;
import com.pulumi.azurenative.recoveryservices.outputs.VmmToAzureNetworkMappingSettingsResponse;
import com.pulumi.azurenative.recoveryservices.outputs.VmmToVmmNetworkMappingSettingsResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Object;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class NetworkMappingPropertiesResponse {
    /**
     * @return The fabric specific settings.
     * 
     */
    private @Nullable Object fabricSpecificSettings;
    /**
     * @return The primary fabric friendly name.
     * 
     */
    private @Nullable String primaryFabricFriendlyName;
    /**
     * @return The primary network friendly name.
     * 
     */
    private @Nullable String primaryNetworkFriendlyName;
    /**
     * @return The primary network id for network mapping.
     * 
     */
    private @Nullable String primaryNetworkId;
    /**
     * @return The recovery fabric ARM id.
     * 
     */
    private @Nullable String recoveryFabricArmId;
    /**
     * @return The recovery fabric friendly name.
     * 
     */
    private @Nullable String recoveryFabricFriendlyName;
    /**
     * @return The recovery network friendly name.
     * 
     */
    private @Nullable String recoveryNetworkFriendlyName;
    /**
     * @return The recovery network id for network mapping.
     * 
     */
    private @Nullable String recoveryNetworkId;
    /**
     * @return The pairing state for network mapping.
     * 
     */
    private @Nullable String state;

    private NetworkMappingPropertiesResponse() {}
    /**
     * @return The fabric specific settings.
     * 
     */
    public Optional fabricSpecificSettings() {
        return Optional.ofNullable(this.fabricSpecificSettings);
    }
    /**
     * @return The primary fabric friendly name.
     * 
     */
    public Optional primaryFabricFriendlyName() {
        return Optional.ofNullable(this.primaryFabricFriendlyName);
    }
    /**
     * @return The primary network friendly name.
     * 
     */
    public Optional primaryNetworkFriendlyName() {
        return Optional.ofNullable(this.primaryNetworkFriendlyName);
    }
    /**
     * @return The primary network id for network mapping.
     * 
     */
    public Optional primaryNetworkId() {
        return Optional.ofNullable(this.primaryNetworkId);
    }
    /**
     * @return The recovery fabric ARM id.
     * 
     */
    public Optional recoveryFabricArmId() {
        return Optional.ofNullable(this.recoveryFabricArmId);
    }
    /**
     * @return The recovery fabric friendly name.
     * 
     */
    public Optional recoveryFabricFriendlyName() {
        return Optional.ofNullable(this.recoveryFabricFriendlyName);
    }
    /**
     * @return The recovery network friendly name.
     * 
     */
    public Optional recoveryNetworkFriendlyName() {
        return Optional.ofNullable(this.recoveryNetworkFriendlyName);
    }
    /**
     * @return The recovery network id for network mapping.
     * 
     */
    public Optional recoveryNetworkId() {
        return Optional.ofNullable(this.recoveryNetworkId);
    }
    /**
     * @return The pairing state for network mapping.
     * 
     */
    public Optional state() {
        return Optional.ofNullable(this.state);
    }

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

    public static Builder builder(NetworkMappingPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Object fabricSpecificSettings;
        private @Nullable String primaryFabricFriendlyName;
        private @Nullable String primaryNetworkFriendlyName;
        private @Nullable String primaryNetworkId;
        private @Nullable String recoveryFabricArmId;
        private @Nullable String recoveryFabricFriendlyName;
        private @Nullable String recoveryNetworkFriendlyName;
        private @Nullable String recoveryNetworkId;
        private @Nullable String state;
        public Builder() {}
        public Builder(NetworkMappingPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.fabricSpecificSettings = defaults.fabricSpecificSettings;
    	      this.primaryFabricFriendlyName = defaults.primaryFabricFriendlyName;
    	      this.primaryNetworkFriendlyName = defaults.primaryNetworkFriendlyName;
    	      this.primaryNetworkId = defaults.primaryNetworkId;
    	      this.recoveryFabricArmId = defaults.recoveryFabricArmId;
    	      this.recoveryFabricFriendlyName = defaults.recoveryFabricFriendlyName;
    	      this.recoveryNetworkFriendlyName = defaults.recoveryNetworkFriendlyName;
    	      this.recoveryNetworkId = defaults.recoveryNetworkId;
    	      this.state = defaults.state;
        }

        @CustomType.Setter
        public Builder fabricSpecificSettings(@Nullable Object fabricSpecificSettings) {

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

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

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

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

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

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

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

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

            this.state = state;
            return this;
        }
        public NetworkMappingPropertiesResponse build() {
            final var _resultValue = new NetworkMappingPropertiesResponse();
            _resultValue.fabricSpecificSettings = fabricSpecificSettings;
            _resultValue.primaryFabricFriendlyName = primaryFabricFriendlyName;
            _resultValue.primaryNetworkFriendlyName = primaryNetworkFriendlyName;
            _resultValue.primaryNetworkId = primaryNetworkId;
            _resultValue.recoveryFabricArmId = recoveryFabricArmId;
            _resultValue.recoveryFabricFriendlyName = recoveryFabricFriendlyName;
            _resultValue.recoveryNetworkFriendlyName = recoveryNetworkFriendlyName;
            _resultValue.recoveryNetworkId = recoveryNetworkId;
            _resultValue.state = state;
            return _resultValue;
        }
    }
}