// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.dataprotection.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;

/** The RestoreJobRecoveryPointDetails model. */
@Fluent
public final class RestoreJobRecoveryPointDetails {
    /*
     * The recoveryPointID property.
     */
    @JsonProperty(value = "recoveryPointID")
    private String recoveryPointId;

    /*
     * The recoveryPointTime property.
     */
    @JsonProperty(value = "recoveryPointTime")
    private OffsetDateTime recoveryPointTime;

    /** Creates an instance of RestoreJobRecoveryPointDetails class. */
    public RestoreJobRecoveryPointDetails() {
    }

    /**
     * Get the recoveryPointId property: The recoveryPointID property.
     *
     * @return the recoveryPointId value.
     */
    public String recoveryPointId() {
        return this.recoveryPointId;
    }

    /**
     * Set the recoveryPointId property: The recoveryPointID property.
     *
     * @param recoveryPointId the recoveryPointId value to set.
     * @return the RestoreJobRecoveryPointDetails object itself.
     */
    public RestoreJobRecoveryPointDetails withRecoveryPointId(String recoveryPointId) {
        this.recoveryPointId = recoveryPointId;
        return this;
    }

    /**
     * Get the recoveryPointTime property: The recoveryPointTime property.
     *
     * @return the recoveryPointTime value.
     */
    public OffsetDateTime recoveryPointTime() {
        return this.recoveryPointTime;
    }

    /**
     * Set the recoveryPointTime property: The recoveryPointTime property.
     *
     * @param recoveryPointTime the recoveryPointTime value to set.
     * @return the RestoreJobRecoveryPointDetails object itself.
     */
    public RestoreJobRecoveryPointDetails withRecoveryPointTime(OffsetDateTime recoveryPointTime) {
        this.recoveryPointTime = recoveryPointTime;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
