/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.management.recoveryservices.backup.v2016_12_01;

import org.joda.time.DateTime;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
 * AzureFileShare workload-specific backup request.
 */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "objectType")
@JsonTypeName("AzureFileShareBackupRequest")
public class AzureFileShareBackupRequest extends BackupRequest {
    /**
     * Backup copy will expire after the time specified (UTC).
     */
    @JsonProperty(value = "recoveryPointExpiryTimeInUTC")
    private DateTime recoveryPointExpiryTimeInUTC;

    /**
     * Get backup copy will expire after the time specified (UTC).
     *
     * @return the recoveryPointExpiryTimeInUTC value
     */
    public DateTime recoveryPointExpiryTimeInUTC() {
        return this.recoveryPointExpiryTimeInUTC;
    }

    /**
     * Set backup copy will expire after the time specified (UTC).
     *
     * @param recoveryPointExpiryTimeInUTC the recoveryPointExpiryTimeInUTC value to set
     * @return the AzureFileShareBackupRequest object itself.
     */
    public AzureFileShareBackupRequest withRecoveryPointExpiryTimeInUTC(DateTime recoveryPointExpiryTimeInUTC) {
        this.recoveryPointExpiryTimeInUTC = recoveryPointExpiryTimeInUTC;
        return this;
    }

}
