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

package com.azure.resourcemanager.netapp.fluent.models;

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

/** Snapshot properties. */
@Immutable
public final class SnapshotProperties {
    /*
     * snapshotId
     *
     * UUID v4 used to identify the Snapshot
     */
    @JsonProperty(value = "snapshotId", access = JsonProperty.Access.WRITE_ONLY)
    private String snapshotId;

    /*
     * name
     *
     * The creation date of the snapshot
     */
    @JsonProperty(value = "created", access = JsonProperty.Access.WRITE_ONLY)
    private OffsetDateTime created;

    /*
     * Azure lifecycle management
     */
    @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
    private String provisioningState;

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

    /**
     * Get the snapshotId property: snapshotId
     *
     * <p>UUID v4 used to identify the Snapshot.
     *
     * @return the snapshotId value.
     */
    public String snapshotId() {
        return this.snapshotId;
    }

    /**
     * Get the created property: name
     *
     * <p>The creation date of the snapshot.
     *
     * @return the created value.
     */
    public OffsetDateTime created() {
        return this.created;
    }

    /**
     * Get the provisioningState property: Azure lifecycle management.
     *
     * @return the provisioningState value.
     */
    public String provisioningState() {
        return this.provisioningState;
    }

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