com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadPointInTimeRestoreRequest Maven / Gradle / Ivy
// 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.time.OffsetDateTime;
import java.util.Map;
/**
* AzureWorkload SAP Hana -specific restore. Specifically for PointInTime/Log restore.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "objectType")
@JsonTypeName("AzureWorkloadPointInTimeRestoreRequest")
@Fluent
public final class AzureWorkloadPointInTimeRestoreRequest extends AzureWorkloadRestoreRequest {
/*
* PointInTime value
*/
@JsonProperty(value = "pointInTime")
private OffsetDateTime pointInTime;
/**
* Creates an instance of AzureWorkloadPointInTimeRestoreRequest class.
*/
public AzureWorkloadPointInTimeRestoreRequest() {
}
/**
* Get the pointInTime property: PointInTime value.
*
* @return the pointInTime value.
*/
public OffsetDateTime pointInTime() {
return this.pointInTime;
}
/**
* Set the pointInTime property: PointInTime value.
*
* @param pointInTime the pointInTime value to set.
* @return the AzureWorkloadPointInTimeRestoreRequest object itself.
*/
public AzureWorkloadPointInTimeRestoreRequest withPointInTime(OffsetDateTime pointInTime) {
this.pointInTime = pointInTime;
return this;
}
/**
* {@inheritDoc}
*/
@Override
public AzureWorkloadPointInTimeRestoreRequest withRecoveryType(RecoveryType recoveryType) {
super.withRecoveryType(recoveryType);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public AzureWorkloadPointInTimeRestoreRequest withSourceResourceId(String sourceResourceId) {
super.withSourceResourceId(sourceResourceId);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public AzureWorkloadPointInTimeRestoreRequest withPropertyBag(Map propertyBag) {
super.withPropertyBag(propertyBag);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public AzureWorkloadPointInTimeRestoreRequest withTargetInfo(TargetRestoreInfo targetInfo) {
super.withTargetInfo(targetInfo);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public AzureWorkloadPointInTimeRestoreRequest withRecoveryMode(RecoveryMode recoveryMode) {
super.withRecoveryMode(recoveryMode);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public AzureWorkloadPointInTimeRestoreRequest withTargetResourceGroupName(String targetResourceGroupName) {
super.withTargetResourceGroupName(targetResourceGroupName);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public AzureWorkloadPointInTimeRestoreRequest
withUserAssignedManagedIdentityDetails(UserAssignedManagedIdentityDetails userAssignedManagedIdentityDetails) {
super.withUserAssignedManagedIdentityDetails(userAssignedManagedIdentityDetails);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public AzureWorkloadPointInTimeRestoreRequest
withSnapshotRestoreParameters(SnapshotRestoreParameters snapshotRestoreParameters) {
super.withSnapshotRestoreParameters(snapshotRestoreParameters);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public AzureWorkloadPointInTimeRestoreRequest 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();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy