com.azure.resourcemanager.recoveryservicesbackup.models.AzureFileShareBackupRequest 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.time.OffsetDateTime;
/**
* AzureFileShare workload-specific backup request.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "objectType")
@JsonTypeName("AzureFileShareBackupRequest")
@Fluent
public final class AzureFileShareBackupRequest extends BackupRequest {
/*
* Backup copy will expire after the time specified (UTC).
*/
@JsonProperty(value = "recoveryPointExpiryTimeInUTC")
private OffsetDateTime recoveryPointExpiryTimeInUtc;
/**
* Creates an instance of AzureFileShareBackupRequest class.
*/
public AzureFileShareBackupRequest() {
}
/**
* Get the recoveryPointExpiryTimeInUtc property: Backup copy will expire after the time specified (UTC).
*
* @return the recoveryPointExpiryTimeInUtc value.
*/
public OffsetDateTime recoveryPointExpiryTimeInUtc() {
return this.recoveryPointExpiryTimeInUtc;
}
/**
* Set the recoveryPointExpiryTimeInUtc property: Backup copy will expire after the time specified (UTC).
*
* @param recoveryPointExpiryTimeInUtc the recoveryPointExpiryTimeInUtc value to set.
* @return the AzureFileShareBackupRequest object itself.
*/
public AzureFileShareBackupRequest withRecoveryPointExpiryTimeInUtc(OffsetDateTime recoveryPointExpiryTimeInUtc) {
this.recoveryPointExpiryTimeInUtc = recoveryPointExpiryTimeInUtc;
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