com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadSqlRestoreWithRehydrateRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-recoveryservicesbackup Show documentation
Show all versions of azure-resourcemanager-recoveryservicesbackup Show documentation
This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2024-04.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import java.util.List;
import java.util.Map;
/**
* AzureWorkload SQL-specific restore with integrated rehydration of recovery point.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "objectType")
@JsonTypeName("AzureWorkloadSQLRestoreWithRehydrateRequest")
@Fluent
public final class AzureWorkloadSqlRestoreWithRehydrateRequest extends AzureWorkloadSqlRestoreRequest {
/*
* RP Rehydration Info
*/
@JsonProperty(value = "recoveryPointRehydrationInfo")
private RecoveryPointRehydrationInfo recoveryPointRehydrationInfo;
/**
* Creates an instance of AzureWorkloadSqlRestoreWithRehydrateRequest class.
*/
public AzureWorkloadSqlRestoreWithRehydrateRequest() {
}
/**
* Get the recoveryPointRehydrationInfo property: RP Rehydration Info.
*
* @return the recoveryPointRehydrationInfo value.
*/
public RecoveryPointRehydrationInfo recoveryPointRehydrationInfo() {
return this.recoveryPointRehydrationInfo;
}
/**
* Set the recoveryPointRehydrationInfo property: RP Rehydration Info.
*
* @param recoveryPointRehydrationInfo the recoveryPointRehydrationInfo value to set.
* @return the AzureWorkloadSqlRestoreWithRehydrateRequest object itself.
*/
public AzureWorkloadSqlRestoreWithRehydrateRequest
withRecoveryPointRehydrationInfo(RecoveryPointRehydrationInfo recoveryPointRehydrationInfo) {
this.recoveryPointRehydrationInfo = recoveryPointRehydrationInfo;
return this;
}
/**
* {@inheritDoc}
*/
@Override
public AzureWorkloadSqlRestoreWithRehydrateRequest
withShouldUseAlternateTargetLocation(Boolean shouldUseAlternateTargetLocation) {
super.withShouldUseAlternateTargetLocation(shouldUseAlternateTargetLocation);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public AzureWorkloadSqlRestoreWithRehydrateRequest withIsNonRecoverable(Boolean isNonRecoverable) {
super.withIsNonRecoverable(isNonRecoverable);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public AzureWorkloadSqlRestoreWithRehydrateRequest
withAlternateDirectoryPaths(List alternateDirectoryPaths) {
super.withAlternateDirectoryPaths(alternateDirectoryPaths);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public AzureWorkloadSqlRestoreWithRehydrateRequest withRecoveryType(RecoveryType recoveryType) {
super.withRecoveryType(recoveryType);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public AzureWorkloadSqlRestoreWithRehydrateRequest withSourceResourceId(String sourceResourceId) {
super.withSourceResourceId(sourceResourceId);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public AzureWorkloadSqlRestoreWithRehydrateRequest withPropertyBag(Map propertyBag) {
super.withPropertyBag(propertyBag);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public AzureWorkloadSqlRestoreWithRehydrateRequest withTargetInfo(TargetRestoreInfo targetInfo) {
super.withTargetInfo(targetInfo);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public AzureWorkloadSqlRestoreWithRehydrateRequest withRecoveryMode(RecoveryMode recoveryMode) {
super.withRecoveryMode(recoveryMode);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public AzureWorkloadSqlRestoreWithRehydrateRequest withTargetResourceGroupName(String targetResourceGroupName) {
super.withTargetResourceGroupName(targetResourceGroupName);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public AzureWorkloadSqlRestoreWithRehydrateRequest
withUserAssignedManagedIdentityDetails(UserAssignedManagedIdentityDetails userAssignedManagedIdentityDetails) {
super.withUserAssignedManagedIdentityDetails(userAssignedManagedIdentityDetails);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public AzureWorkloadSqlRestoreWithRehydrateRequest
withSnapshotRestoreParameters(SnapshotRestoreParameters snapshotRestoreParameters) {
super.withSnapshotRestoreParameters(snapshotRestoreParameters);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public AzureWorkloadSqlRestoreWithRehydrateRequest withTargetVirtualMachineId(String targetVirtualMachineId) {
super.withTargetVirtualMachineId(targetVirtualMachineId);
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
@Override
public void validate() {
super.validate();
if (recoveryPointRehydrationInfo() != null) {
recoveryPointRehydrationInfo().validate();
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy