
com.pulumi.azurenative.recoveryservices.outputs.InMageAzureV2ReplicationDetailsResponse 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.AzureVmDiskDetailsResponse;
import com.pulumi.azurenative.recoveryservices.outputs.HealthErrorResponse;
import com.pulumi.azurenative.recoveryservices.outputs.InMageAzureV2ManagedDiskDetailsResponse;
import com.pulumi.azurenative.recoveryservices.outputs.InMageAzureV2ProtectedDiskDetailsResponse;
import com.pulumi.azurenative.recoveryservices.outputs.InMageAzureV2SwitchProviderBlockingErrorDetailsResponse;
import com.pulumi.azurenative.recoveryservices.outputs.InMageAzureV2SwitchProviderDetailsResponse;
import com.pulumi.azurenative.recoveryservices.outputs.VMNicDetailsResponse;
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.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class InMageAzureV2ReplicationDetailsResponse {
/**
* @return Agent expiry date.
*
*/
private @Nullable String agentExpiryDate;
/**
* @return The agent version.
*
*/
private @Nullable String agentVersion;
/**
* @return Azure VM Disk details.
*
*/
private @Nullable List azureVMDiskDetails;
/**
* @return The target generation for this protected item.
*
*/
private @Nullable String azureVmGeneration;
/**
* @return The compressed data change rate in MB.
*
*/
private @Nullable Double compressedDataRateInMB;
/**
* @return The datastores of the on-premise machine. Value can be list of strings that contain datastore names.
*
*/
private @Nullable List datastores;
/**
* @return A value indicating the discovery type of the machine. Value can be vCenter or physical.
*
*/
private @Nullable String discoveryType;
/**
* @return A value indicating whether any disk is resized for this VM.
*
*/
private @Nullable String diskResized;
/**
* @return The selected option to enable RDP\SSH on target vm after failover. String value of SrsDataContract.EnableRDPOnTargetOption enum.
*
*/
private @Nullable String enableRdpOnTargetOption;
/**
* @return The firmware type of this protected item.
*
*/
private @Nullable String firmwareType;
/**
* @return The infrastructure VM Id.
*
*/
private @Nullable String infrastructureVmId;
/**
* @return Gets the Instance type.
* Expected value is 'InMageAzureV2'.
*
*/
private String instanceType;
/**
* @return The source IP address.
*
*/
private @Nullable String ipAddress;
/**
* @return A value indicating whether additional IR stats are available or not.
*
*/
private @Nullable Boolean isAdditionalStatsAvailable;
/**
* @return A value indicating whether installed agent needs to be updated.
*
*/
private @Nullable String isAgentUpdateRequired;
/**
* @return A value indicating whether the source server requires a restart after update.
*
*/
private @Nullable String isRebootAfterUpdateRequired;
/**
* @return The last heartbeat received from the source server.
*
*/
private @Nullable String lastHeartbeat;
/**
* @return The last recovery point received time.
*
*/
private String lastRecoveryPointReceived;
/**
* @return The last RPO calculated time.
*
*/
private @Nullable String lastRpoCalculatedTime;
/**
* @return The last update time received from on-prem components.
*
*/
private @Nullable String lastUpdateReceivedTime;
/**
* @return License Type of the VM to be used.
*
*/
private @Nullable String licenseType;
/**
* @return The master target Id.
*
*/
private @Nullable String masterTargetId;
/**
* @return The multi vm group Id.
*
*/
private @Nullable String multiVmGroupId;
/**
* @return The multi vm group name.
*
*/
private @Nullable String multiVmGroupName;
/**
* @return A value indicating whether multi vm sync is enabled or disabled.
*
*/
private @Nullable String multiVmSyncStatus;
/**
* @return The id of the disk containing the OS.
*
*/
private @Nullable String osDiskId;
/**
* @return The type of the OS on the VM.
*
*/
private @Nullable String osType;
/**
* @return The OS Version of the protected item.
*
*/
private @Nullable String osVersion;
/**
* @return The process server Id.
*
*/
private @Nullable String processServerId;
/**
* @return The process server name.
*
*/
private @Nullable String processServerName;
/**
* @return The list of protected disks.
*
*/
private @Nullable List protectedDisks;
/**
* @return The list of protected managed disks.
*
*/
private @Nullable List protectedManagedDisks;
/**
* @return The protection stage.
*
*/
private @Nullable String protectionStage;
/**
* @return The recovery availability set Id.
*
*/
private @Nullable String recoveryAvailabilitySetId;
/**
* @return The ARM id of the log storage account used for replication. This will be set to null if no log storage account was provided during enable protection.
*
*/
private @Nullable String recoveryAzureLogStorageAccountId;
/**
* @return The target resource group Id.
*
*/
private @Nullable String recoveryAzureResourceGroupId;
/**
* @return The recovery Azure storage account.
*
*/
private @Nullable String recoveryAzureStorageAccount;
/**
* @return Recovery Azure given name.
*
*/
private @Nullable String recoveryAzureVMName;
/**
* @return The Recovery Azure VM size.
*
*/
private @Nullable String recoveryAzureVMSize;
/**
* @return The replica id of the protected item.
*
*/
private @Nullable String replicaId;
/**
* @return The resync progress percentage.
*
*/
private @Nullable Integer resyncProgressPercentage;
/**
* @return The RPO in seconds.
*
*/
private @Nullable Double rpoInSeconds;
/**
* @return The tags for the seed managed disks.
*
*/
private @Nullable Map seedManagedDiskTags;
/**
* @return The selected recovery azure network Id.
*
*/
private @Nullable String selectedRecoveryAzureNetworkId;
/**
* @return The selected source nic Id which will be used as the primary nic during failover.
*
*/
private @Nullable String selectedSourceNicId;
/**
* @return The test failover virtual network.
*
*/
private @Nullable String selectedTfoAzureNetworkId;
/**
* @return The CPU count of the VM on the primary side.
*
*/
private @Nullable Integer sourceVmCpuCount;
/**
* @return The RAM size of the VM on the primary side.
*
*/
private @Nullable Integer sourceVmRamSizeInMB;
/**
* @return The SQL Server license type.
*
*/
private @Nullable String sqlServerLicenseType;
/**
* @return The switch provider blocking error information.
*
*/
private @Nullable List switchProviderBlockingErrorDetails;
/**
* @return The switch provider blocking error information.
*
*/
private @Nullable InMageAzureV2SwitchProviderDetailsResponse switchProviderDetails;
/**
* @return The target availability zone.
*
*/
private @Nullable String targetAvailabilityZone;
/**
* @return The tags for the target managed disks.
*
*/
private @Nullable Map targetManagedDiskTags;
/**
* @return The tags for the target NICs.
*
*/
private @Nullable Map targetNicTags;
/**
* @return The target proximity placement group Id.
*
*/
private @Nullable String targetProximityPlacementGroupId;
/**
* @return The ARM Id of the target Azure VM. This value will be null until the VM is failed over. Only after failure it will be populated with the ARM Id of the Azure VM.
*
*/
private @Nullable String targetVmId;
/**
* @return The target VM tags.
*
*/
private @Nullable Map targetVmTags;
/**
* @return The total transferred data in bytes.
*
*/
private @Nullable Double totalDataTransferred;
/**
* @return The progress health.
*
*/
private @Nullable String totalProgressHealth;
/**
* @return The uncompressed data change rate in MB.
*
*/
private @Nullable Double uncompressedDataRateInMB;
/**
* @return A value indicating whether managed disks should be used during failover.
*
*/
private @Nullable String useManagedDisks;
/**
* @return The vCenter infrastructure Id.
*
*/
private @Nullable String vCenterInfrastructureId;
/**
* @return The validation errors of the on-premise machine Value can be list of validation errors.
*
*/
private @Nullable List validationErrors;
/**
* @return The OS disk VHD name.
*
*/
private @Nullable String vhdName;
/**
* @return The virtual machine Id.
*
*/
private @Nullable String vmId;
/**
* @return The PE Network details.
*
*/
private @Nullable List vmNics;
/**
* @return The protection state for the vm.
*
*/
private @Nullable String vmProtectionState;
/**
* @return The protection state description for the vm.
*
*/
private @Nullable String vmProtectionStateDescription;
private InMageAzureV2ReplicationDetailsResponse() {}
/**
* @return Agent expiry date.
*
*/
public Optional agentExpiryDate() {
return Optional.ofNullable(this.agentExpiryDate);
}
/**
* @return The agent version.
*
*/
public Optional agentVersion() {
return Optional.ofNullable(this.agentVersion);
}
/**
* @return Azure VM Disk details.
*
*/
public List azureVMDiskDetails() {
return this.azureVMDiskDetails == null ? List.of() : this.azureVMDiskDetails;
}
/**
* @return The target generation for this protected item.
*
*/
public Optional azureVmGeneration() {
return Optional.ofNullable(this.azureVmGeneration);
}
/**
* @return The compressed data change rate in MB.
*
*/
public Optional compressedDataRateInMB() {
return Optional.ofNullable(this.compressedDataRateInMB);
}
/**
* @return The datastores of the on-premise machine. Value can be list of strings that contain datastore names.
*
*/
public List datastores() {
return this.datastores == null ? List.of() : this.datastores;
}
/**
* @return A value indicating the discovery type of the machine. Value can be vCenter or physical.
*
*/
public Optional discoveryType() {
return Optional.ofNullable(this.discoveryType);
}
/**
* @return A value indicating whether any disk is resized for this VM.
*
*/
public Optional diskResized() {
return Optional.ofNullable(this.diskResized);
}
/**
* @return The selected option to enable RDP\SSH on target vm after failover. String value of SrsDataContract.EnableRDPOnTargetOption enum.
*
*/
public Optional enableRdpOnTargetOption() {
return Optional.ofNullable(this.enableRdpOnTargetOption);
}
/**
* @return The firmware type of this protected item.
*
*/
public Optional firmwareType() {
return Optional.ofNullable(this.firmwareType);
}
/**
* @return The infrastructure VM Id.
*
*/
public Optional infrastructureVmId() {
return Optional.ofNullable(this.infrastructureVmId);
}
/**
* @return Gets the Instance type.
* Expected value is 'InMageAzureV2'.
*
*/
public String instanceType() {
return this.instanceType;
}
/**
* @return The source IP address.
*
*/
public Optional ipAddress() {
return Optional.ofNullable(this.ipAddress);
}
/**
* @return A value indicating whether additional IR stats are available or not.
*
*/
public Optional isAdditionalStatsAvailable() {
return Optional.ofNullable(this.isAdditionalStatsAvailable);
}
/**
* @return A value indicating whether installed agent needs to be updated.
*
*/
public Optional isAgentUpdateRequired() {
return Optional.ofNullable(this.isAgentUpdateRequired);
}
/**
* @return A value indicating whether the source server requires a restart after update.
*
*/
public Optional isRebootAfterUpdateRequired() {
return Optional.ofNullable(this.isRebootAfterUpdateRequired);
}
/**
* @return The last heartbeat received from the source server.
*
*/
public Optional lastHeartbeat() {
return Optional.ofNullable(this.lastHeartbeat);
}
/**
* @return The last recovery point received time.
*
*/
public String lastRecoveryPointReceived() {
return this.lastRecoveryPointReceived;
}
/**
* @return The last RPO calculated time.
*
*/
public Optional lastRpoCalculatedTime() {
return Optional.ofNullable(this.lastRpoCalculatedTime);
}
/**
* @return The last update time received from on-prem components.
*
*/
public Optional lastUpdateReceivedTime() {
return Optional.ofNullable(this.lastUpdateReceivedTime);
}
/**
* @return License Type of the VM to be used.
*
*/
public Optional licenseType() {
return Optional.ofNullable(this.licenseType);
}
/**
* @return The master target Id.
*
*/
public Optional masterTargetId() {
return Optional.ofNullable(this.masterTargetId);
}
/**
* @return The multi vm group Id.
*
*/
public Optional multiVmGroupId() {
return Optional.ofNullable(this.multiVmGroupId);
}
/**
* @return The multi vm group name.
*
*/
public Optional multiVmGroupName() {
return Optional.ofNullable(this.multiVmGroupName);
}
/**
* @return A value indicating whether multi vm sync is enabled or disabled.
*
*/
public Optional multiVmSyncStatus() {
return Optional.ofNullable(this.multiVmSyncStatus);
}
/**
* @return The id of the disk containing the OS.
*
*/
public Optional osDiskId() {
return Optional.ofNullable(this.osDiskId);
}
/**
* @return The type of the OS on the VM.
*
*/
public Optional osType() {
return Optional.ofNullable(this.osType);
}
/**
* @return The OS Version of the protected item.
*
*/
public Optional osVersion() {
return Optional.ofNullable(this.osVersion);
}
/**
* @return The process server Id.
*
*/
public Optional processServerId() {
return Optional.ofNullable(this.processServerId);
}
/**
* @return The process server name.
*
*/
public Optional processServerName() {
return Optional.ofNullable(this.processServerName);
}
/**
* @return The list of protected disks.
*
*/
public List protectedDisks() {
return this.protectedDisks == null ? List.of() : this.protectedDisks;
}
/**
* @return The list of protected managed disks.
*
*/
public List protectedManagedDisks() {
return this.protectedManagedDisks == null ? List.of() : this.protectedManagedDisks;
}
/**
* @return The protection stage.
*
*/
public Optional protectionStage() {
return Optional.ofNullable(this.protectionStage);
}
/**
* @return The recovery availability set Id.
*
*/
public Optional recoveryAvailabilitySetId() {
return Optional.ofNullable(this.recoveryAvailabilitySetId);
}
/**
* @return The ARM id of the log storage account used for replication. This will be set to null if no log storage account was provided during enable protection.
*
*/
public Optional recoveryAzureLogStorageAccountId() {
return Optional.ofNullable(this.recoveryAzureLogStorageAccountId);
}
/**
* @return The target resource group Id.
*
*/
public Optional recoveryAzureResourceGroupId() {
return Optional.ofNullable(this.recoveryAzureResourceGroupId);
}
/**
* @return The recovery Azure storage account.
*
*/
public Optional recoveryAzureStorageAccount() {
return Optional.ofNullable(this.recoveryAzureStorageAccount);
}
/**
* @return Recovery Azure given name.
*
*/
public Optional recoveryAzureVMName() {
return Optional.ofNullable(this.recoveryAzureVMName);
}
/**
* @return The Recovery Azure VM size.
*
*/
public Optional recoveryAzureVMSize() {
return Optional.ofNullable(this.recoveryAzureVMSize);
}
/**
* @return The replica id of the protected item.
*
*/
public Optional replicaId() {
return Optional.ofNullable(this.replicaId);
}
/**
* @return The resync progress percentage.
*
*/
public Optional resyncProgressPercentage() {
return Optional.ofNullable(this.resyncProgressPercentage);
}
/**
* @return The RPO in seconds.
*
*/
public Optional rpoInSeconds() {
return Optional.ofNullable(this.rpoInSeconds);
}
/**
* @return The tags for the seed managed disks.
*
*/
public Map seedManagedDiskTags() {
return this.seedManagedDiskTags == null ? Map.of() : this.seedManagedDiskTags;
}
/**
* @return The selected recovery azure network Id.
*
*/
public Optional selectedRecoveryAzureNetworkId() {
return Optional.ofNullable(this.selectedRecoveryAzureNetworkId);
}
/**
* @return The selected source nic Id which will be used as the primary nic during failover.
*
*/
public Optional selectedSourceNicId() {
return Optional.ofNullable(this.selectedSourceNicId);
}
/**
* @return The test failover virtual network.
*
*/
public Optional selectedTfoAzureNetworkId() {
return Optional.ofNullable(this.selectedTfoAzureNetworkId);
}
/**
* @return The CPU count of the VM on the primary side.
*
*/
public Optional sourceVmCpuCount() {
return Optional.ofNullable(this.sourceVmCpuCount);
}
/**
* @return The RAM size of the VM on the primary side.
*
*/
public Optional sourceVmRamSizeInMB() {
return Optional.ofNullable(this.sourceVmRamSizeInMB);
}
/**
* @return The SQL Server license type.
*
*/
public Optional sqlServerLicenseType() {
return Optional.ofNullable(this.sqlServerLicenseType);
}
/**
* @return The switch provider blocking error information.
*
*/
public List switchProviderBlockingErrorDetails() {
return this.switchProviderBlockingErrorDetails == null ? List.of() : this.switchProviderBlockingErrorDetails;
}
/**
* @return The switch provider blocking error information.
*
*/
public Optional switchProviderDetails() {
return Optional.ofNullable(this.switchProviderDetails);
}
/**
* @return The target availability zone.
*
*/
public Optional targetAvailabilityZone() {
return Optional.ofNullable(this.targetAvailabilityZone);
}
/**
* @return The tags for the target managed disks.
*
*/
public Map targetManagedDiskTags() {
return this.targetManagedDiskTags == null ? Map.of() : this.targetManagedDiskTags;
}
/**
* @return The tags for the target NICs.
*
*/
public Map targetNicTags() {
return this.targetNicTags == null ? Map.of() : this.targetNicTags;
}
/**
* @return The target proximity placement group Id.
*
*/
public Optional targetProximityPlacementGroupId() {
return Optional.ofNullable(this.targetProximityPlacementGroupId);
}
/**
* @return The ARM Id of the target Azure VM. This value will be null until the VM is failed over. Only after failure it will be populated with the ARM Id of the Azure VM.
*
*/
public Optional targetVmId() {
return Optional.ofNullable(this.targetVmId);
}
/**
* @return The target VM tags.
*
*/
public Map targetVmTags() {
return this.targetVmTags == null ? Map.of() : this.targetVmTags;
}
/**
* @return The total transferred data in bytes.
*
*/
public Optional totalDataTransferred() {
return Optional.ofNullable(this.totalDataTransferred);
}
/**
* @return The progress health.
*
*/
public Optional totalProgressHealth() {
return Optional.ofNullable(this.totalProgressHealth);
}
/**
* @return The uncompressed data change rate in MB.
*
*/
public Optional uncompressedDataRateInMB() {
return Optional.ofNullable(this.uncompressedDataRateInMB);
}
/**
* @return A value indicating whether managed disks should be used during failover.
*
*/
public Optional useManagedDisks() {
return Optional.ofNullable(this.useManagedDisks);
}
/**
* @return The vCenter infrastructure Id.
*
*/
public Optional vCenterInfrastructureId() {
return Optional.ofNullable(this.vCenterInfrastructureId);
}
/**
* @return The validation errors of the on-premise machine Value can be list of validation errors.
*
*/
public List validationErrors() {
return this.validationErrors == null ? List.of() : this.validationErrors;
}
/**
* @return The OS disk VHD name.
*
*/
public Optional vhdName() {
return Optional.ofNullable(this.vhdName);
}
/**
* @return The virtual machine Id.
*
*/
public Optional vmId() {
return Optional.ofNullable(this.vmId);
}
/**
* @return The PE Network details.
*
*/
public List vmNics() {
return this.vmNics == null ? List.of() : this.vmNics;
}
/**
* @return The protection state for the vm.
*
*/
public Optional vmProtectionState() {
return Optional.ofNullable(this.vmProtectionState);
}
/**
* @return The protection state description for the vm.
*
*/
public Optional vmProtectionStateDescription() {
return Optional.ofNullable(this.vmProtectionStateDescription);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(InMageAzureV2ReplicationDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String agentExpiryDate;
private @Nullable String agentVersion;
private @Nullable List azureVMDiskDetails;
private @Nullable String azureVmGeneration;
private @Nullable Double compressedDataRateInMB;
private @Nullable List datastores;
private @Nullable String discoveryType;
private @Nullable String diskResized;
private @Nullable String enableRdpOnTargetOption;
private @Nullable String firmwareType;
private @Nullable String infrastructureVmId;
private String instanceType;
private @Nullable String ipAddress;
private @Nullable Boolean isAdditionalStatsAvailable;
private @Nullable String isAgentUpdateRequired;
private @Nullable String isRebootAfterUpdateRequired;
private @Nullable String lastHeartbeat;
private String lastRecoveryPointReceived;
private @Nullable String lastRpoCalculatedTime;
private @Nullable String lastUpdateReceivedTime;
private @Nullable String licenseType;
private @Nullable String masterTargetId;
private @Nullable String multiVmGroupId;
private @Nullable String multiVmGroupName;
private @Nullable String multiVmSyncStatus;
private @Nullable String osDiskId;
private @Nullable String osType;
private @Nullable String osVersion;
private @Nullable String processServerId;
private @Nullable String processServerName;
private @Nullable List protectedDisks;
private @Nullable List protectedManagedDisks;
private @Nullable String protectionStage;
private @Nullable String recoveryAvailabilitySetId;
private @Nullable String recoveryAzureLogStorageAccountId;
private @Nullable String recoveryAzureResourceGroupId;
private @Nullable String recoveryAzureStorageAccount;
private @Nullable String recoveryAzureVMName;
private @Nullable String recoveryAzureVMSize;
private @Nullable String replicaId;
private @Nullable Integer resyncProgressPercentage;
private @Nullable Double rpoInSeconds;
private @Nullable Map seedManagedDiskTags;
private @Nullable String selectedRecoveryAzureNetworkId;
private @Nullable String selectedSourceNicId;
private @Nullable String selectedTfoAzureNetworkId;
private @Nullable Integer sourceVmCpuCount;
private @Nullable Integer sourceVmRamSizeInMB;
private @Nullable String sqlServerLicenseType;
private @Nullable List switchProviderBlockingErrorDetails;
private @Nullable InMageAzureV2SwitchProviderDetailsResponse switchProviderDetails;
private @Nullable String targetAvailabilityZone;
private @Nullable Map targetManagedDiskTags;
private @Nullable Map targetNicTags;
private @Nullable String targetProximityPlacementGroupId;
private @Nullable String targetVmId;
private @Nullable Map targetVmTags;
private @Nullable Double totalDataTransferred;
private @Nullable String totalProgressHealth;
private @Nullable Double uncompressedDataRateInMB;
private @Nullable String useManagedDisks;
private @Nullable String vCenterInfrastructureId;
private @Nullable List validationErrors;
private @Nullable String vhdName;
private @Nullable String vmId;
private @Nullable List vmNics;
private @Nullable String vmProtectionState;
private @Nullable String vmProtectionStateDescription;
public Builder() {}
public Builder(InMageAzureV2ReplicationDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.agentExpiryDate = defaults.agentExpiryDate;
this.agentVersion = defaults.agentVersion;
this.azureVMDiskDetails = defaults.azureVMDiskDetails;
this.azureVmGeneration = defaults.azureVmGeneration;
this.compressedDataRateInMB = defaults.compressedDataRateInMB;
this.datastores = defaults.datastores;
this.discoveryType = defaults.discoveryType;
this.diskResized = defaults.diskResized;
this.enableRdpOnTargetOption = defaults.enableRdpOnTargetOption;
this.firmwareType = defaults.firmwareType;
this.infrastructureVmId = defaults.infrastructureVmId;
this.instanceType = defaults.instanceType;
this.ipAddress = defaults.ipAddress;
this.isAdditionalStatsAvailable = defaults.isAdditionalStatsAvailable;
this.isAgentUpdateRequired = defaults.isAgentUpdateRequired;
this.isRebootAfterUpdateRequired = defaults.isRebootAfterUpdateRequired;
this.lastHeartbeat = defaults.lastHeartbeat;
this.lastRecoveryPointReceived = defaults.lastRecoveryPointReceived;
this.lastRpoCalculatedTime = defaults.lastRpoCalculatedTime;
this.lastUpdateReceivedTime = defaults.lastUpdateReceivedTime;
this.licenseType = defaults.licenseType;
this.masterTargetId = defaults.masterTargetId;
this.multiVmGroupId = defaults.multiVmGroupId;
this.multiVmGroupName = defaults.multiVmGroupName;
this.multiVmSyncStatus = defaults.multiVmSyncStatus;
this.osDiskId = defaults.osDiskId;
this.osType = defaults.osType;
this.osVersion = defaults.osVersion;
this.processServerId = defaults.processServerId;
this.processServerName = defaults.processServerName;
this.protectedDisks = defaults.protectedDisks;
this.protectedManagedDisks = defaults.protectedManagedDisks;
this.protectionStage = defaults.protectionStage;
this.recoveryAvailabilitySetId = defaults.recoveryAvailabilitySetId;
this.recoveryAzureLogStorageAccountId = defaults.recoveryAzureLogStorageAccountId;
this.recoveryAzureResourceGroupId = defaults.recoveryAzureResourceGroupId;
this.recoveryAzureStorageAccount = defaults.recoveryAzureStorageAccount;
this.recoveryAzureVMName = defaults.recoveryAzureVMName;
this.recoveryAzureVMSize = defaults.recoveryAzureVMSize;
this.replicaId = defaults.replicaId;
this.resyncProgressPercentage = defaults.resyncProgressPercentage;
this.rpoInSeconds = defaults.rpoInSeconds;
this.seedManagedDiskTags = defaults.seedManagedDiskTags;
this.selectedRecoveryAzureNetworkId = defaults.selectedRecoveryAzureNetworkId;
this.selectedSourceNicId = defaults.selectedSourceNicId;
this.selectedTfoAzureNetworkId = defaults.selectedTfoAzureNetworkId;
this.sourceVmCpuCount = defaults.sourceVmCpuCount;
this.sourceVmRamSizeInMB = defaults.sourceVmRamSizeInMB;
this.sqlServerLicenseType = defaults.sqlServerLicenseType;
this.switchProviderBlockingErrorDetails = defaults.switchProviderBlockingErrorDetails;
this.switchProviderDetails = defaults.switchProviderDetails;
this.targetAvailabilityZone = defaults.targetAvailabilityZone;
this.targetManagedDiskTags = defaults.targetManagedDiskTags;
this.targetNicTags = defaults.targetNicTags;
this.targetProximityPlacementGroupId = defaults.targetProximityPlacementGroupId;
this.targetVmId = defaults.targetVmId;
this.targetVmTags = defaults.targetVmTags;
this.totalDataTransferred = defaults.totalDataTransferred;
this.totalProgressHealth = defaults.totalProgressHealth;
this.uncompressedDataRateInMB = defaults.uncompressedDataRateInMB;
this.useManagedDisks = defaults.useManagedDisks;
this.vCenterInfrastructureId = defaults.vCenterInfrastructureId;
this.validationErrors = defaults.validationErrors;
this.vhdName = defaults.vhdName;
this.vmId = defaults.vmId;
this.vmNics = defaults.vmNics;
this.vmProtectionState = defaults.vmProtectionState;
this.vmProtectionStateDescription = defaults.vmProtectionStateDescription;
}
@CustomType.Setter
public Builder agentExpiryDate(@Nullable String agentExpiryDate) {
this.agentExpiryDate = agentExpiryDate;
return this;
}
@CustomType.Setter
public Builder agentVersion(@Nullable String agentVersion) {
this.agentVersion = agentVersion;
return this;
}
@CustomType.Setter
public Builder azureVMDiskDetails(@Nullable List azureVMDiskDetails) {
this.azureVMDiskDetails = azureVMDiskDetails;
return this;
}
public Builder azureVMDiskDetails(AzureVmDiskDetailsResponse... azureVMDiskDetails) {
return azureVMDiskDetails(List.of(azureVMDiskDetails));
}
@CustomType.Setter
public Builder azureVmGeneration(@Nullable String azureVmGeneration) {
this.azureVmGeneration = azureVmGeneration;
return this;
}
@CustomType.Setter
public Builder compressedDataRateInMB(@Nullable Double compressedDataRateInMB) {
this.compressedDataRateInMB = compressedDataRateInMB;
return this;
}
@CustomType.Setter
public Builder datastores(@Nullable List datastores) {
this.datastores = datastores;
return this;
}
public Builder datastores(String... datastores) {
return datastores(List.of(datastores));
}
@CustomType.Setter
public Builder discoveryType(@Nullable String discoveryType) {
this.discoveryType = discoveryType;
return this;
}
@CustomType.Setter
public Builder diskResized(@Nullable String diskResized) {
this.diskResized = diskResized;
return this;
}
@CustomType.Setter
public Builder enableRdpOnTargetOption(@Nullable String enableRdpOnTargetOption) {
this.enableRdpOnTargetOption = enableRdpOnTargetOption;
return this;
}
@CustomType.Setter
public Builder firmwareType(@Nullable String firmwareType) {
this.firmwareType = firmwareType;
return this;
}
@CustomType.Setter
public Builder infrastructureVmId(@Nullable String infrastructureVmId) {
this.infrastructureVmId = infrastructureVmId;
return this;
}
@CustomType.Setter
public Builder instanceType(String instanceType) {
if (instanceType == null) {
throw new MissingRequiredPropertyException("InMageAzureV2ReplicationDetailsResponse", "instanceType");
}
this.instanceType = instanceType;
return this;
}
@CustomType.Setter
public Builder ipAddress(@Nullable String ipAddress) {
this.ipAddress = ipAddress;
return this;
}
@CustomType.Setter
public Builder isAdditionalStatsAvailable(@Nullable Boolean isAdditionalStatsAvailable) {
this.isAdditionalStatsAvailable = isAdditionalStatsAvailable;
return this;
}
@CustomType.Setter
public Builder isAgentUpdateRequired(@Nullable String isAgentUpdateRequired) {
this.isAgentUpdateRequired = isAgentUpdateRequired;
return this;
}
@CustomType.Setter
public Builder isRebootAfterUpdateRequired(@Nullable String isRebootAfterUpdateRequired) {
this.isRebootAfterUpdateRequired = isRebootAfterUpdateRequired;
return this;
}
@CustomType.Setter
public Builder lastHeartbeat(@Nullable String lastHeartbeat) {
this.lastHeartbeat = lastHeartbeat;
return this;
}
@CustomType.Setter
public Builder lastRecoveryPointReceived(String lastRecoveryPointReceived) {
if (lastRecoveryPointReceived == null) {
throw new MissingRequiredPropertyException("InMageAzureV2ReplicationDetailsResponse", "lastRecoveryPointReceived");
}
this.lastRecoveryPointReceived = lastRecoveryPointReceived;
return this;
}
@CustomType.Setter
public Builder lastRpoCalculatedTime(@Nullable String lastRpoCalculatedTime) {
this.lastRpoCalculatedTime = lastRpoCalculatedTime;
return this;
}
@CustomType.Setter
public Builder lastUpdateReceivedTime(@Nullable String lastUpdateReceivedTime) {
this.lastUpdateReceivedTime = lastUpdateReceivedTime;
return this;
}
@CustomType.Setter
public Builder licenseType(@Nullable String licenseType) {
this.licenseType = licenseType;
return this;
}
@CustomType.Setter
public Builder masterTargetId(@Nullable String masterTargetId) {
this.masterTargetId = masterTargetId;
return this;
}
@CustomType.Setter
public Builder multiVmGroupId(@Nullable String multiVmGroupId) {
this.multiVmGroupId = multiVmGroupId;
return this;
}
@CustomType.Setter
public Builder multiVmGroupName(@Nullable String multiVmGroupName) {
this.multiVmGroupName = multiVmGroupName;
return this;
}
@CustomType.Setter
public Builder multiVmSyncStatus(@Nullable String multiVmSyncStatus) {
this.multiVmSyncStatus = multiVmSyncStatus;
return this;
}
@CustomType.Setter
public Builder osDiskId(@Nullable String osDiskId) {
this.osDiskId = osDiskId;
return this;
}
@CustomType.Setter
public Builder osType(@Nullable String osType) {
this.osType = osType;
return this;
}
@CustomType.Setter
public Builder osVersion(@Nullable String osVersion) {
this.osVersion = osVersion;
return this;
}
@CustomType.Setter
public Builder processServerId(@Nullable String processServerId) {
this.processServerId = processServerId;
return this;
}
@CustomType.Setter
public Builder processServerName(@Nullable String processServerName) {
this.processServerName = processServerName;
return this;
}
@CustomType.Setter
public Builder protectedDisks(@Nullable List protectedDisks) {
this.protectedDisks = protectedDisks;
return this;
}
public Builder protectedDisks(InMageAzureV2ProtectedDiskDetailsResponse... protectedDisks) {
return protectedDisks(List.of(protectedDisks));
}
@CustomType.Setter
public Builder protectedManagedDisks(@Nullable List protectedManagedDisks) {
this.protectedManagedDisks = protectedManagedDisks;
return this;
}
public Builder protectedManagedDisks(InMageAzureV2ManagedDiskDetailsResponse... protectedManagedDisks) {
return protectedManagedDisks(List.of(protectedManagedDisks));
}
@CustomType.Setter
public Builder protectionStage(@Nullable String protectionStage) {
this.protectionStage = protectionStage;
return this;
}
@CustomType.Setter
public Builder recoveryAvailabilitySetId(@Nullable String recoveryAvailabilitySetId) {
this.recoveryAvailabilitySetId = recoveryAvailabilitySetId;
return this;
}
@CustomType.Setter
public Builder recoveryAzureLogStorageAccountId(@Nullable String recoveryAzureLogStorageAccountId) {
this.recoveryAzureLogStorageAccountId = recoveryAzureLogStorageAccountId;
return this;
}
@CustomType.Setter
public Builder recoveryAzureResourceGroupId(@Nullable String recoveryAzureResourceGroupId) {
this.recoveryAzureResourceGroupId = recoveryAzureResourceGroupId;
return this;
}
@CustomType.Setter
public Builder recoveryAzureStorageAccount(@Nullable String recoveryAzureStorageAccount) {
this.recoveryAzureStorageAccount = recoveryAzureStorageAccount;
return this;
}
@CustomType.Setter
public Builder recoveryAzureVMName(@Nullable String recoveryAzureVMName) {
this.recoveryAzureVMName = recoveryAzureVMName;
return this;
}
@CustomType.Setter
public Builder recoveryAzureVMSize(@Nullable String recoveryAzureVMSize) {
this.recoveryAzureVMSize = recoveryAzureVMSize;
return this;
}
@CustomType.Setter
public Builder replicaId(@Nullable String replicaId) {
this.replicaId = replicaId;
return this;
}
@CustomType.Setter
public Builder resyncProgressPercentage(@Nullable Integer resyncProgressPercentage) {
this.resyncProgressPercentage = resyncProgressPercentage;
return this;
}
@CustomType.Setter
public Builder rpoInSeconds(@Nullable Double rpoInSeconds) {
this.rpoInSeconds = rpoInSeconds;
return this;
}
@CustomType.Setter
public Builder seedManagedDiskTags(@Nullable Map seedManagedDiskTags) {
this.seedManagedDiskTags = seedManagedDiskTags;
return this;
}
@CustomType.Setter
public Builder selectedRecoveryAzureNetworkId(@Nullable String selectedRecoveryAzureNetworkId) {
this.selectedRecoveryAzureNetworkId = selectedRecoveryAzureNetworkId;
return this;
}
@CustomType.Setter
public Builder selectedSourceNicId(@Nullable String selectedSourceNicId) {
this.selectedSourceNicId = selectedSourceNicId;
return this;
}
@CustomType.Setter
public Builder selectedTfoAzureNetworkId(@Nullable String selectedTfoAzureNetworkId) {
this.selectedTfoAzureNetworkId = selectedTfoAzureNetworkId;
return this;
}
@CustomType.Setter
public Builder sourceVmCpuCount(@Nullable Integer sourceVmCpuCount) {
this.sourceVmCpuCount = sourceVmCpuCount;
return this;
}
@CustomType.Setter
public Builder sourceVmRamSizeInMB(@Nullable Integer sourceVmRamSizeInMB) {
this.sourceVmRamSizeInMB = sourceVmRamSizeInMB;
return this;
}
@CustomType.Setter
public Builder sqlServerLicenseType(@Nullable String sqlServerLicenseType) {
this.sqlServerLicenseType = sqlServerLicenseType;
return this;
}
@CustomType.Setter
public Builder switchProviderBlockingErrorDetails(@Nullable List switchProviderBlockingErrorDetails) {
this.switchProviderBlockingErrorDetails = switchProviderBlockingErrorDetails;
return this;
}
public Builder switchProviderBlockingErrorDetails(InMageAzureV2SwitchProviderBlockingErrorDetailsResponse... switchProviderBlockingErrorDetails) {
return switchProviderBlockingErrorDetails(List.of(switchProviderBlockingErrorDetails));
}
@CustomType.Setter
public Builder switchProviderDetails(@Nullable InMageAzureV2SwitchProviderDetailsResponse switchProviderDetails) {
this.switchProviderDetails = switchProviderDetails;
return this;
}
@CustomType.Setter
public Builder targetAvailabilityZone(@Nullable String targetAvailabilityZone) {
this.targetAvailabilityZone = targetAvailabilityZone;
return this;
}
@CustomType.Setter
public Builder targetManagedDiskTags(@Nullable Map targetManagedDiskTags) {
this.targetManagedDiskTags = targetManagedDiskTags;
return this;
}
@CustomType.Setter
public Builder targetNicTags(@Nullable Map targetNicTags) {
this.targetNicTags = targetNicTags;
return this;
}
@CustomType.Setter
public Builder targetProximityPlacementGroupId(@Nullable String targetProximityPlacementGroupId) {
this.targetProximityPlacementGroupId = targetProximityPlacementGroupId;
return this;
}
@CustomType.Setter
public Builder targetVmId(@Nullable String targetVmId) {
this.targetVmId = targetVmId;
return this;
}
@CustomType.Setter
public Builder targetVmTags(@Nullable Map targetVmTags) {
this.targetVmTags = targetVmTags;
return this;
}
@CustomType.Setter
public Builder totalDataTransferred(@Nullable Double totalDataTransferred) {
this.totalDataTransferred = totalDataTransferred;
return this;
}
@CustomType.Setter
public Builder totalProgressHealth(@Nullable String totalProgressHealth) {
this.totalProgressHealth = totalProgressHealth;
return this;
}
@CustomType.Setter
public Builder uncompressedDataRateInMB(@Nullable Double uncompressedDataRateInMB) {
this.uncompressedDataRateInMB = uncompressedDataRateInMB;
return this;
}
@CustomType.Setter
public Builder useManagedDisks(@Nullable String useManagedDisks) {
this.useManagedDisks = useManagedDisks;
return this;
}
@CustomType.Setter
public Builder vCenterInfrastructureId(@Nullable String vCenterInfrastructureId) {
this.vCenterInfrastructureId = vCenterInfrastructureId;
return this;
}
@CustomType.Setter
public Builder validationErrors(@Nullable List validationErrors) {
this.validationErrors = validationErrors;
return this;
}
public Builder validationErrors(HealthErrorResponse... validationErrors) {
return validationErrors(List.of(validationErrors));
}
@CustomType.Setter
public Builder vhdName(@Nullable String vhdName) {
this.vhdName = vhdName;
return this;
}
@CustomType.Setter
public Builder vmId(@Nullable String vmId) {
this.vmId = vmId;
return this;
}
@CustomType.Setter
public Builder vmNics(@Nullable List vmNics) {
this.vmNics = vmNics;
return this;
}
public Builder vmNics(VMNicDetailsResponse... vmNics) {
return vmNics(List.of(vmNics));
}
@CustomType.Setter
public Builder vmProtectionState(@Nullable String vmProtectionState) {
this.vmProtectionState = vmProtectionState;
return this;
}
@CustomType.Setter
public Builder vmProtectionStateDescription(@Nullable String vmProtectionStateDescription) {
this.vmProtectionStateDescription = vmProtectionStateDescription;
return this;
}
public InMageAzureV2ReplicationDetailsResponse build() {
final var _resultValue = new InMageAzureV2ReplicationDetailsResponse();
_resultValue.agentExpiryDate = agentExpiryDate;
_resultValue.agentVersion = agentVersion;
_resultValue.azureVMDiskDetails = azureVMDiskDetails;
_resultValue.azureVmGeneration = azureVmGeneration;
_resultValue.compressedDataRateInMB = compressedDataRateInMB;
_resultValue.datastores = datastores;
_resultValue.discoveryType = discoveryType;
_resultValue.diskResized = diskResized;
_resultValue.enableRdpOnTargetOption = enableRdpOnTargetOption;
_resultValue.firmwareType = firmwareType;
_resultValue.infrastructureVmId = infrastructureVmId;
_resultValue.instanceType = instanceType;
_resultValue.ipAddress = ipAddress;
_resultValue.isAdditionalStatsAvailable = isAdditionalStatsAvailable;
_resultValue.isAgentUpdateRequired = isAgentUpdateRequired;
_resultValue.isRebootAfterUpdateRequired = isRebootAfterUpdateRequired;
_resultValue.lastHeartbeat = lastHeartbeat;
_resultValue.lastRecoveryPointReceived = lastRecoveryPointReceived;
_resultValue.lastRpoCalculatedTime = lastRpoCalculatedTime;
_resultValue.lastUpdateReceivedTime = lastUpdateReceivedTime;
_resultValue.licenseType = licenseType;
_resultValue.masterTargetId = masterTargetId;
_resultValue.multiVmGroupId = multiVmGroupId;
_resultValue.multiVmGroupName = multiVmGroupName;
_resultValue.multiVmSyncStatus = multiVmSyncStatus;
_resultValue.osDiskId = osDiskId;
_resultValue.osType = osType;
_resultValue.osVersion = osVersion;
_resultValue.processServerId = processServerId;
_resultValue.processServerName = processServerName;
_resultValue.protectedDisks = protectedDisks;
_resultValue.protectedManagedDisks = protectedManagedDisks;
_resultValue.protectionStage = protectionStage;
_resultValue.recoveryAvailabilitySetId = recoveryAvailabilitySetId;
_resultValue.recoveryAzureLogStorageAccountId = recoveryAzureLogStorageAccountId;
_resultValue.recoveryAzureResourceGroupId = recoveryAzureResourceGroupId;
_resultValue.recoveryAzureStorageAccount = recoveryAzureStorageAccount;
_resultValue.recoveryAzureVMName = recoveryAzureVMName;
_resultValue.recoveryAzureVMSize = recoveryAzureVMSize;
_resultValue.replicaId = replicaId;
_resultValue.resyncProgressPercentage = resyncProgressPercentage;
_resultValue.rpoInSeconds = rpoInSeconds;
_resultValue.seedManagedDiskTags = seedManagedDiskTags;
_resultValue.selectedRecoveryAzureNetworkId = selectedRecoveryAzureNetworkId;
_resultValue.selectedSourceNicId = selectedSourceNicId;
_resultValue.selectedTfoAzureNetworkId = selectedTfoAzureNetworkId;
_resultValue.sourceVmCpuCount = sourceVmCpuCount;
_resultValue.sourceVmRamSizeInMB = sourceVmRamSizeInMB;
_resultValue.sqlServerLicenseType = sqlServerLicenseType;
_resultValue.switchProviderBlockingErrorDetails = switchProviderBlockingErrorDetails;
_resultValue.switchProviderDetails = switchProviderDetails;
_resultValue.targetAvailabilityZone = targetAvailabilityZone;
_resultValue.targetManagedDiskTags = targetManagedDiskTags;
_resultValue.targetNicTags = targetNicTags;
_resultValue.targetProximityPlacementGroupId = targetProximityPlacementGroupId;
_resultValue.targetVmId = targetVmId;
_resultValue.targetVmTags = targetVmTags;
_resultValue.totalDataTransferred = totalDataTransferred;
_resultValue.totalProgressHealth = totalProgressHealth;
_resultValue.uncompressedDataRateInMB = uncompressedDataRateInMB;
_resultValue.useManagedDisks = useManagedDisks;
_resultValue.vCenterInfrastructureId = vCenterInfrastructureId;
_resultValue.validationErrors = validationErrors;
_resultValue.vhdName = vhdName;
_resultValue.vmId = vmId;
_resultValue.vmNics = vmNics;
_resultValue.vmProtectionState = vmProtectionState;
_resultValue.vmProtectionStateDescription = vmProtectionStateDescription;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy