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

com.pulumi.azurenative.datareplication.outputs.HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse 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.datareplication.outputs;

import com.pulumi.azurenative.datareplication.outputs.HyperVToAzStackHCIDiskInputResponse;
import com.pulumi.azurenative.datareplication.outputs.HyperVToAzStackHCINicInputResponse;
import com.pulumi.azurenative.datareplication.outputs.HyperVToAzStackHCIProtectedDiskPropertiesResponse;
import com.pulumi.azurenative.datareplication.outputs.HyperVToAzStackHCIProtectedNicPropertiesResponse;
import com.pulumi.azurenative.datareplication.outputs.ProtectedItemDynamicMemoryConfigResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Double;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse {
    /**
     * @return Gets or sets the location of the protected item.
     * 
     */
    private String activeLocation;
    /**
     * @return Gets or sets the location of Azure Arc HCI custom location resource.
     * 
     */
    private String customLocationRegion;
    /**
     * @return Gets or sets the list of disks to replicate.
     * 
     */
    private List disksToInclude;
    /**
     * @return Protected item dynamic memory config.
     * 
     */
    private @Nullable ProtectedItemDynamicMemoryConfigResponse dynamicMemoryConfig;
    /**
     * @return Gets or sets the ARM Id of the discovered machine.
     * 
     */
    private String fabricDiscoveryMachineId;
    /**
     * @return Gets or sets the recovery point Id to which the VM was failed over.
     * 
     */
    private String failoverRecoveryPointId;
    /**
     * @return Gets or sets the firmware type.
     * 
     */
    private String firmwareType;
    /**
     * @return Gets or sets the hypervisor generation of the virtual machine.
     * 
     */
    private String hyperVGeneration;
    /**
     * @return Gets or sets the initial replication progress percentage. This is calculated based on
     * total bytes processed for all disks in the source VM.
     * 
     */
    private Integer initialReplicationProgressPercentage;
    /**
     * @return Gets or sets the instance type.
     * Expected value is 'HyperVToAzStackHCI'.
     * 
     */
    private String instanceType;
    /**
     * @return Gets or sets a value indicating whether memory is dynamical.
     * 
     */
    private @Nullable Boolean isDynamicRam;
    /**
     * @return Gets or sets the last recovery point Id.
     * 
     */
    private String lastRecoveryPointId;
    /**
     * @return Gets or sets the last recovery point received time.
     * 
     */
    private String lastRecoveryPointReceived;
    /**
     * @return Gets or sets the latest timestamp that replication status is updated.
     * 
     */
    private String lastReplicationUpdateTime;
    /**
     * @return Gets or sets the list of VM NIC to replicate.
     * 
     */
    private List nicsToInclude;
    /**
     * @return Gets or sets the name of the OS.
     * 
     */
    private String osName;
    /**
     * @return Gets or sets the type of the OS.
     * 
     */
    private String osType;
    /**
     * @return Gets or sets the list of protected disks.
     * 
     */
    private List protectedDisks;
    /**
     * @return Gets or sets the VM NIC details.
     * 
     */
    private List protectedNics;
    /**
     * @return Gets or sets the resync progress percentage. This is calculated based on total bytes
     * processed for all disks in the source VM.
     * 
     */
    private Integer resyncProgressPercentage;
    /**
     * @return Gets or sets the Run As account Id.
     * 
     */
    private String runAsAccountId;
    /**
     * @return Gets or sets the source appliance name.
     * 
     */
    private String sourceApplianceName;
    /**
     * @return Gets or sets the source VM CPU cores.
     * 
     */
    private Integer sourceCpuCores;
    /**
     * @return Gets or sets the source DRA name.
     * 
     */
    private String sourceDraName;
    /**
     * @return Gets or sets the source VM ram memory size in megabytes.
     * 
     */
    private Double sourceMemoryInMegaBytes;
    /**
     * @return Gets or sets the source VM display name.
     * 
     */
    private String sourceVmName;
    /**
     * @return Gets or sets the target storage container ARM Id.
     * 
     */
    private String storageContainerId;
    /**
     * @return Gets or sets the target appliance name.
     * 
     */
    private String targetApplianceName;
    /**
     * @return Gets or sets the Target Arc Cluster Custom Location ARM Id.
     * 
     */
    private String targetArcClusterCustomLocationId;
    /**
     * @return Gets or sets the Target AzStackHCI cluster name.
     * 
     */
    private String targetAzStackHciClusterName;
    /**
     * @return Gets or sets the target CPU cores.
     * 
     */
    private @Nullable Integer targetCpuCores;
    /**
     * @return Gets or sets the target DRA name.
     * 
     */
    private String targetDraName;
    /**
     * @return Gets or sets the Target HCI Cluster ARM Id.
     * 
     */
    private String targetHciClusterId;
    /**
     * @return Gets or sets the target location.
     * 
     */
    private String targetLocation;
    /**
     * @return Gets or sets the target memory in mega-bytes.
     * 
     */
    private @Nullable Integer targetMemoryInMegaBytes;
    /**
     * @return Gets or sets the target network Id within AzStackHCI Cluster.
     * 
     */
    private @Nullable String targetNetworkId;
    /**
     * @return Gets or sets the target resource group ARM Id.
     * 
     */
    private String targetResourceGroupId;
    /**
     * @return Gets or sets the BIOS Id of the target AzStackHCI VM.
     * 
     */
    private String targetVmBiosId;
    /**
     * @return Gets or sets the target VM display name.
     * 
     */
    private @Nullable String targetVmName;
    /**
     * @return Gets or sets the target test network Id within AzStackHCI Cluster.
     * 
     */
    private @Nullable String testNetworkId;

    private HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse() {}
    /**
     * @return Gets or sets the location of the protected item.
     * 
     */
    public String activeLocation() {
        return this.activeLocation;
    }
    /**
     * @return Gets or sets the location of Azure Arc HCI custom location resource.
     * 
     */
    public String customLocationRegion() {
        return this.customLocationRegion;
    }
    /**
     * @return Gets or sets the list of disks to replicate.
     * 
     */
    public List disksToInclude() {
        return this.disksToInclude;
    }
    /**
     * @return Protected item dynamic memory config.
     * 
     */
    public Optional dynamicMemoryConfig() {
        return Optional.ofNullable(this.dynamicMemoryConfig);
    }
    /**
     * @return Gets or sets the ARM Id of the discovered machine.
     * 
     */
    public String fabricDiscoveryMachineId() {
        return this.fabricDiscoveryMachineId;
    }
    /**
     * @return Gets or sets the recovery point Id to which the VM was failed over.
     * 
     */
    public String failoverRecoveryPointId() {
        return this.failoverRecoveryPointId;
    }
    /**
     * @return Gets or sets the firmware type.
     * 
     */
    public String firmwareType() {
        return this.firmwareType;
    }
    /**
     * @return Gets or sets the hypervisor generation of the virtual machine.
     * 
     */
    public String hyperVGeneration() {
        return this.hyperVGeneration;
    }
    /**
     * @return Gets or sets the initial replication progress percentage. This is calculated based on
     * total bytes processed for all disks in the source VM.
     * 
     */
    public Integer initialReplicationProgressPercentage() {
        return this.initialReplicationProgressPercentage;
    }
    /**
     * @return Gets or sets the instance type.
     * Expected value is 'HyperVToAzStackHCI'.
     * 
     */
    public String instanceType() {
        return this.instanceType;
    }
    /**
     * @return Gets or sets a value indicating whether memory is dynamical.
     * 
     */
    public Optional isDynamicRam() {
        return Optional.ofNullable(this.isDynamicRam);
    }
    /**
     * @return Gets or sets the last recovery point Id.
     * 
     */
    public String lastRecoveryPointId() {
        return this.lastRecoveryPointId;
    }
    /**
     * @return Gets or sets the last recovery point received time.
     * 
     */
    public String lastRecoveryPointReceived() {
        return this.lastRecoveryPointReceived;
    }
    /**
     * @return Gets or sets the latest timestamp that replication status is updated.
     * 
     */
    public String lastReplicationUpdateTime() {
        return this.lastReplicationUpdateTime;
    }
    /**
     * @return Gets or sets the list of VM NIC to replicate.
     * 
     */
    public List nicsToInclude() {
        return this.nicsToInclude;
    }
    /**
     * @return Gets or sets the name of the OS.
     * 
     */
    public String osName() {
        return this.osName;
    }
    /**
     * @return Gets or sets the type of the OS.
     * 
     */
    public String osType() {
        return this.osType;
    }
    /**
     * @return Gets or sets the list of protected disks.
     * 
     */
    public List protectedDisks() {
        return this.protectedDisks;
    }
    /**
     * @return Gets or sets the VM NIC details.
     * 
     */
    public List protectedNics() {
        return this.protectedNics;
    }
    /**
     * @return Gets or sets the resync progress percentage. This is calculated based on total bytes
     * processed for all disks in the source VM.
     * 
     */
    public Integer resyncProgressPercentage() {
        return this.resyncProgressPercentage;
    }
    /**
     * @return Gets or sets the Run As account Id.
     * 
     */
    public String runAsAccountId() {
        return this.runAsAccountId;
    }
    /**
     * @return Gets or sets the source appliance name.
     * 
     */
    public String sourceApplianceName() {
        return this.sourceApplianceName;
    }
    /**
     * @return Gets or sets the source VM CPU cores.
     * 
     */
    public Integer sourceCpuCores() {
        return this.sourceCpuCores;
    }
    /**
     * @return Gets or sets the source DRA name.
     * 
     */
    public String sourceDraName() {
        return this.sourceDraName;
    }
    /**
     * @return Gets or sets the source VM ram memory size in megabytes.
     * 
     */
    public Double sourceMemoryInMegaBytes() {
        return this.sourceMemoryInMegaBytes;
    }
    /**
     * @return Gets or sets the source VM display name.
     * 
     */
    public String sourceVmName() {
        return this.sourceVmName;
    }
    /**
     * @return Gets or sets the target storage container ARM Id.
     * 
     */
    public String storageContainerId() {
        return this.storageContainerId;
    }
    /**
     * @return Gets or sets the target appliance name.
     * 
     */
    public String targetApplianceName() {
        return this.targetApplianceName;
    }
    /**
     * @return Gets or sets the Target Arc Cluster Custom Location ARM Id.
     * 
     */
    public String targetArcClusterCustomLocationId() {
        return this.targetArcClusterCustomLocationId;
    }
    /**
     * @return Gets or sets the Target AzStackHCI cluster name.
     * 
     */
    public String targetAzStackHciClusterName() {
        return this.targetAzStackHciClusterName;
    }
    /**
     * @return Gets or sets the target CPU cores.
     * 
     */
    public Optional targetCpuCores() {
        return Optional.ofNullable(this.targetCpuCores);
    }
    /**
     * @return Gets or sets the target DRA name.
     * 
     */
    public String targetDraName() {
        return this.targetDraName;
    }
    /**
     * @return Gets or sets the Target HCI Cluster ARM Id.
     * 
     */
    public String targetHciClusterId() {
        return this.targetHciClusterId;
    }
    /**
     * @return Gets or sets the target location.
     * 
     */
    public String targetLocation() {
        return this.targetLocation;
    }
    /**
     * @return Gets or sets the target memory in mega-bytes.
     * 
     */
    public Optional targetMemoryInMegaBytes() {
        return Optional.ofNullable(this.targetMemoryInMegaBytes);
    }
    /**
     * @return Gets or sets the target network Id within AzStackHCI Cluster.
     * 
     */
    public Optional targetNetworkId() {
        return Optional.ofNullable(this.targetNetworkId);
    }
    /**
     * @return Gets or sets the target resource group ARM Id.
     * 
     */
    public String targetResourceGroupId() {
        return this.targetResourceGroupId;
    }
    /**
     * @return Gets or sets the BIOS Id of the target AzStackHCI VM.
     * 
     */
    public String targetVmBiosId() {
        return this.targetVmBiosId;
    }
    /**
     * @return Gets or sets the target VM display name.
     * 
     */
    public Optional targetVmName() {
        return Optional.ofNullable(this.targetVmName);
    }
    /**
     * @return Gets or sets the target test network Id within AzStackHCI Cluster.
     * 
     */
    public Optional testNetworkId() {
        return Optional.ofNullable(this.testNetworkId);
    }

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

    public static Builder builder(HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String activeLocation;
        private String customLocationRegion;
        private List disksToInclude;
        private @Nullable ProtectedItemDynamicMemoryConfigResponse dynamicMemoryConfig;
        private String fabricDiscoveryMachineId;
        private String failoverRecoveryPointId;
        private String firmwareType;
        private String hyperVGeneration;
        private Integer initialReplicationProgressPercentage;
        private String instanceType;
        private @Nullable Boolean isDynamicRam;
        private String lastRecoveryPointId;
        private String lastRecoveryPointReceived;
        private String lastReplicationUpdateTime;
        private List nicsToInclude;
        private String osName;
        private String osType;
        private List protectedDisks;
        private List protectedNics;
        private Integer resyncProgressPercentage;
        private String runAsAccountId;
        private String sourceApplianceName;
        private Integer sourceCpuCores;
        private String sourceDraName;
        private Double sourceMemoryInMegaBytes;
        private String sourceVmName;
        private String storageContainerId;
        private String targetApplianceName;
        private String targetArcClusterCustomLocationId;
        private String targetAzStackHciClusterName;
        private @Nullable Integer targetCpuCores;
        private String targetDraName;
        private String targetHciClusterId;
        private String targetLocation;
        private @Nullable Integer targetMemoryInMegaBytes;
        private @Nullable String targetNetworkId;
        private String targetResourceGroupId;
        private String targetVmBiosId;
        private @Nullable String targetVmName;
        private @Nullable String testNetworkId;
        public Builder() {}
        public Builder(HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.activeLocation = defaults.activeLocation;
    	      this.customLocationRegion = defaults.customLocationRegion;
    	      this.disksToInclude = defaults.disksToInclude;
    	      this.dynamicMemoryConfig = defaults.dynamicMemoryConfig;
    	      this.fabricDiscoveryMachineId = defaults.fabricDiscoveryMachineId;
    	      this.failoverRecoveryPointId = defaults.failoverRecoveryPointId;
    	      this.firmwareType = defaults.firmwareType;
    	      this.hyperVGeneration = defaults.hyperVGeneration;
    	      this.initialReplicationProgressPercentage = defaults.initialReplicationProgressPercentage;
    	      this.instanceType = defaults.instanceType;
    	      this.isDynamicRam = defaults.isDynamicRam;
    	      this.lastRecoveryPointId = defaults.lastRecoveryPointId;
    	      this.lastRecoveryPointReceived = defaults.lastRecoveryPointReceived;
    	      this.lastReplicationUpdateTime = defaults.lastReplicationUpdateTime;
    	      this.nicsToInclude = defaults.nicsToInclude;
    	      this.osName = defaults.osName;
    	      this.osType = defaults.osType;
    	      this.protectedDisks = defaults.protectedDisks;
    	      this.protectedNics = defaults.protectedNics;
    	      this.resyncProgressPercentage = defaults.resyncProgressPercentage;
    	      this.runAsAccountId = defaults.runAsAccountId;
    	      this.sourceApplianceName = defaults.sourceApplianceName;
    	      this.sourceCpuCores = defaults.sourceCpuCores;
    	      this.sourceDraName = defaults.sourceDraName;
    	      this.sourceMemoryInMegaBytes = defaults.sourceMemoryInMegaBytes;
    	      this.sourceVmName = defaults.sourceVmName;
    	      this.storageContainerId = defaults.storageContainerId;
    	      this.targetApplianceName = defaults.targetApplianceName;
    	      this.targetArcClusterCustomLocationId = defaults.targetArcClusterCustomLocationId;
    	      this.targetAzStackHciClusterName = defaults.targetAzStackHciClusterName;
    	      this.targetCpuCores = defaults.targetCpuCores;
    	      this.targetDraName = defaults.targetDraName;
    	      this.targetHciClusterId = defaults.targetHciClusterId;
    	      this.targetLocation = defaults.targetLocation;
    	      this.targetMemoryInMegaBytes = defaults.targetMemoryInMegaBytes;
    	      this.targetNetworkId = defaults.targetNetworkId;
    	      this.targetResourceGroupId = defaults.targetResourceGroupId;
    	      this.targetVmBiosId = defaults.targetVmBiosId;
    	      this.targetVmName = defaults.targetVmName;
    	      this.testNetworkId = defaults.testNetworkId;
        }

        @CustomType.Setter
        public Builder activeLocation(String activeLocation) {
            if (activeLocation == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "activeLocation");
            }
            this.activeLocation = activeLocation;
            return this;
        }
        @CustomType.Setter
        public Builder customLocationRegion(String customLocationRegion) {
            if (customLocationRegion == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "customLocationRegion");
            }
            this.customLocationRegion = customLocationRegion;
            return this;
        }
        @CustomType.Setter
        public Builder disksToInclude(List disksToInclude) {
            if (disksToInclude == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "disksToInclude");
            }
            this.disksToInclude = disksToInclude;
            return this;
        }
        public Builder disksToInclude(HyperVToAzStackHCIDiskInputResponse... disksToInclude) {
            return disksToInclude(List.of(disksToInclude));
        }
        @CustomType.Setter
        public Builder dynamicMemoryConfig(@Nullable ProtectedItemDynamicMemoryConfigResponse dynamicMemoryConfig) {

            this.dynamicMemoryConfig = dynamicMemoryConfig;
            return this;
        }
        @CustomType.Setter
        public Builder fabricDiscoveryMachineId(String fabricDiscoveryMachineId) {
            if (fabricDiscoveryMachineId == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "fabricDiscoveryMachineId");
            }
            this.fabricDiscoveryMachineId = fabricDiscoveryMachineId;
            return this;
        }
        @CustomType.Setter
        public Builder failoverRecoveryPointId(String failoverRecoveryPointId) {
            if (failoverRecoveryPointId == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "failoverRecoveryPointId");
            }
            this.failoverRecoveryPointId = failoverRecoveryPointId;
            return this;
        }
        @CustomType.Setter
        public Builder firmwareType(String firmwareType) {
            if (firmwareType == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "firmwareType");
            }
            this.firmwareType = firmwareType;
            return this;
        }
        @CustomType.Setter
        public Builder hyperVGeneration(String hyperVGeneration) {
            if (hyperVGeneration == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "hyperVGeneration");
            }
            this.hyperVGeneration = hyperVGeneration;
            return this;
        }
        @CustomType.Setter
        public Builder initialReplicationProgressPercentage(Integer initialReplicationProgressPercentage) {
            if (initialReplicationProgressPercentage == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "initialReplicationProgressPercentage");
            }
            this.initialReplicationProgressPercentage = initialReplicationProgressPercentage;
            return this;
        }
        @CustomType.Setter
        public Builder instanceType(String instanceType) {
            if (instanceType == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "instanceType");
            }
            this.instanceType = instanceType;
            return this;
        }
        @CustomType.Setter
        public Builder isDynamicRam(@Nullable Boolean isDynamicRam) {

            this.isDynamicRam = isDynamicRam;
            return this;
        }
        @CustomType.Setter
        public Builder lastRecoveryPointId(String lastRecoveryPointId) {
            if (lastRecoveryPointId == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "lastRecoveryPointId");
            }
            this.lastRecoveryPointId = lastRecoveryPointId;
            return this;
        }
        @CustomType.Setter
        public Builder lastRecoveryPointReceived(String lastRecoveryPointReceived) {
            if (lastRecoveryPointReceived == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "lastRecoveryPointReceived");
            }
            this.lastRecoveryPointReceived = lastRecoveryPointReceived;
            return this;
        }
        @CustomType.Setter
        public Builder lastReplicationUpdateTime(String lastReplicationUpdateTime) {
            if (lastReplicationUpdateTime == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "lastReplicationUpdateTime");
            }
            this.lastReplicationUpdateTime = lastReplicationUpdateTime;
            return this;
        }
        @CustomType.Setter
        public Builder nicsToInclude(List nicsToInclude) {
            if (nicsToInclude == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "nicsToInclude");
            }
            this.nicsToInclude = nicsToInclude;
            return this;
        }
        public Builder nicsToInclude(HyperVToAzStackHCINicInputResponse... nicsToInclude) {
            return nicsToInclude(List.of(nicsToInclude));
        }
        @CustomType.Setter
        public Builder osName(String osName) {
            if (osName == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "osName");
            }
            this.osName = osName;
            return this;
        }
        @CustomType.Setter
        public Builder osType(String osType) {
            if (osType == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "osType");
            }
            this.osType = osType;
            return this;
        }
        @CustomType.Setter
        public Builder protectedDisks(List protectedDisks) {
            if (protectedDisks == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "protectedDisks");
            }
            this.protectedDisks = protectedDisks;
            return this;
        }
        public Builder protectedDisks(HyperVToAzStackHCIProtectedDiskPropertiesResponse... protectedDisks) {
            return protectedDisks(List.of(protectedDisks));
        }
        @CustomType.Setter
        public Builder protectedNics(List protectedNics) {
            if (protectedNics == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "protectedNics");
            }
            this.protectedNics = protectedNics;
            return this;
        }
        public Builder protectedNics(HyperVToAzStackHCIProtectedNicPropertiesResponse... protectedNics) {
            return protectedNics(List.of(protectedNics));
        }
        @CustomType.Setter
        public Builder resyncProgressPercentage(Integer resyncProgressPercentage) {
            if (resyncProgressPercentage == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "resyncProgressPercentage");
            }
            this.resyncProgressPercentage = resyncProgressPercentage;
            return this;
        }
        @CustomType.Setter
        public Builder runAsAccountId(String runAsAccountId) {
            if (runAsAccountId == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "runAsAccountId");
            }
            this.runAsAccountId = runAsAccountId;
            return this;
        }
        @CustomType.Setter
        public Builder sourceApplianceName(String sourceApplianceName) {
            if (sourceApplianceName == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "sourceApplianceName");
            }
            this.sourceApplianceName = sourceApplianceName;
            return this;
        }
        @CustomType.Setter
        public Builder sourceCpuCores(Integer sourceCpuCores) {
            if (sourceCpuCores == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "sourceCpuCores");
            }
            this.sourceCpuCores = sourceCpuCores;
            return this;
        }
        @CustomType.Setter
        public Builder sourceDraName(String sourceDraName) {
            if (sourceDraName == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "sourceDraName");
            }
            this.sourceDraName = sourceDraName;
            return this;
        }
        @CustomType.Setter
        public Builder sourceMemoryInMegaBytes(Double sourceMemoryInMegaBytes) {
            if (sourceMemoryInMegaBytes == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "sourceMemoryInMegaBytes");
            }
            this.sourceMemoryInMegaBytes = sourceMemoryInMegaBytes;
            return this;
        }
        @CustomType.Setter
        public Builder sourceVmName(String sourceVmName) {
            if (sourceVmName == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "sourceVmName");
            }
            this.sourceVmName = sourceVmName;
            return this;
        }
        @CustomType.Setter
        public Builder storageContainerId(String storageContainerId) {
            if (storageContainerId == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "storageContainerId");
            }
            this.storageContainerId = storageContainerId;
            return this;
        }
        @CustomType.Setter
        public Builder targetApplianceName(String targetApplianceName) {
            if (targetApplianceName == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "targetApplianceName");
            }
            this.targetApplianceName = targetApplianceName;
            return this;
        }
        @CustomType.Setter
        public Builder targetArcClusterCustomLocationId(String targetArcClusterCustomLocationId) {
            if (targetArcClusterCustomLocationId == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "targetArcClusterCustomLocationId");
            }
            this.targetArcClusterCustomLocationId = targetArcClusterCustomLocationId;
            return this;
        }
        @CustomType.Setter
        public Builder targetAzStackHciClusterName(String targetAzStackHciClusterName) {
            if (targetAzStackHciClusterName == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "targetAzStackHciClusterName");
            }
            this.targetAzStackHciClusterName = targetAzStackHciClusterName;
            return this;
        }
        @CustomType.Setter
        public Builder targetCpuCores(@Nullable Integer targetCpuCores) {

            this.targetCpuCores = targetCpuCores;
            return this;
        }
        @CustomType.Setter
        public Builder targetDraName(String targetDraName) {
            if (targetDraName == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "targetDraName");
            }
            this.targetDraName = targetDraName;
            return this;
        }
        @CustomType.Setter
        public Builder targetHciClusterId(String targetHciClusterId) {
            if (targetHciClusterId == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "targetHciClusterId");
            }
            this.targetHciClusterId = targetHciClusterId;
            return this;
        }
        @CustomType.Setter
        public Builder targetLocation(String targetLocation) {
            if (targetLocation == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "targetLocation");
            }
            this.targetLocation = targetLocation;
            return this;
        }
        @CustomType.Setter
        public Builder targetMemoryInMegaBytes(@Nullable Integer targetMemoryInMegaBytes) {

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

            this.targetNetworkId = targetNetworkId;
            return this;
        }
        @CustomType.Setter
        public Builder targetResourceGroupId(String targetResourceGroupId) {
            if (targetResourceGroupId == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "targetResourceGroupId");
            }
            this.targetResourceGroupId = targetResourceGroupId;
            return this;
        }
        @CustomType.Setter
        public Builder targetVmBiosId(String targetVmBiosId) {
            if (targetVmBiosId == null) {
              throw new MissingRequiredPropertyException("HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse", "targetVmBiosId");
            }
            this.targetVmBiosId = targetVmBiosId;
            return this;
        }
        @CustomType.Setter
        public Builder targetVmName(@Nullable String targetVmName) {

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

            this.testNetworkId = testNetworkId;
            return this;
        }
        public HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse build() {
            final var _resultValue = new HyperVToAzStackHCIProtectedItemModelCustomPropertiesResponse();
            _resultValue.activeLocation = activeLocation;
            _resultValue.customLocationRegion = customLocationRegion;
            _resultValue.disksToInclude = disksToInclude;
            _resultValue.dynamicMemoryConfig = dynamicMemoryConfig;
            _resultValue.fabricDiscoveryMachineId = fabricDiscoveryMachineId;
            _resultValue.failoverRecoveryPointId = failoverRecoveryPointId;
            _resultValue.firmwareType = firmwareType;
            _resultValue.hyperVGeneration = hyperVGeneration;
            _resultValue.initialReplicationProgressPercentage = initialReplicationProgressPercentage;
            _resultValue.instanceType = instanceType;
            _resultValue.isDynamicRam = isDynamicRam;
            _resultValue.lastRecoveryPointId = lastRecoveryPointId;
            _resultValue.lastRecoveryPointReceived = lastRecoveryPointReceived;
            _resultValue.lastReplicationUpdateTime = lastReplicationUpdateTime;
            _resultValue.nicsToInclude = nicsToInclude;
            _resultValue.osName = osName;
            _resultValue.osType = osType;
            _resultValue.protectedDisks = protectedDisks;
            _resultValue.protectedNics = protectedNics;
            _resultValue.resyncProgressPercentage = resyncProgressPercentage;
            _resultValue.runAsAccountId = runAsAccountId;
            _resultValue.sourceApplianceName = sourceApplianceName;
            _resultValue.sourceCpuCores = sourceCpuCores;
            _resultValue.sourceDraName = sourceDraName;
            _resultValue.sourceMemoryInMegaBytes = sourceMemoryInMegaBytes;
            _resultValue.sourceVmName = sourceVmName;
            _resultValue.storageContainerId = storageContainerId;
            _resultValue.targetApplianceName = targetApplianceName;
            _resultValue.targetArcClusterCustomLocationId = targetArcClusterCustomLocationId;
            _resultValue.targetAzStackHciClusterName = targetAzStackHciClusterName;
            _resultValue.targetCpuCores = targetCpuCores;
            _resultValue.targetDraName = targetDraName;
            _resultValue.targetHciClusterId = targetHciClusterId;
            _resultValue.targetLocation = targetLocation;
            _resultValue.targetMemoryInMegaBytes = targetMemoryInMegaBytes;
            _resultValue.targetNetworkId = targetNetworkId;
            _resultValue.targetResourceGroupId = targetResourceGroupId;
            _resultValue.targetVmBiosId = targetVmBiosId;
            _resultValue.targetVmName = targetVmName;
            _resultValue.testNetworkId = testNetworkId;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy