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

package com.azure.resourcemanager.scvmm.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Defines the resource properties. */
@Fluent
public final class Checkpoint {
    /*
     * Gets ID of parent of the checkpoint.
     */
    @JsonProperty(value = "parentCheckpointID")
    private String parentCheckpointId;

    /*
     * Gets ID of the checkpoint.
     */
    @JsonProperty(value = "checkpointID")
    private String checkpointId;

    /*
     * Gets name of the checkpoint.
     */
    @JsonProperty(value = "name")
    private String name;

    /*
     * Gets description of the checkpoint.
     */
    @JsonProperty(value = "description")
    private String description;

    /**
     * Get the parentCheckpointId property: Gets ID of parent of the checkpoint.
     *
     * @return the parentCheckpointId value.
     */
    public String parentCheckpointId() {
        return this.parentCheckpointId;
    }

    /**
     * Set the parentCheckpointId property: Gets ID of parent of the checkpoint.
     *
     * @param parentCheckpointId the parentCheckpointId value to set.
     * @return the Checkpoint object itself.
     */
    public Checkpoint withParentCheckpointId(String parentCheckpointId) {
        this.parentCheckpointId = parentCheckpointId;
        return this;
    }

    /**
     * Get the checkpointId property: Gets ID of the checkpoint.
     *
     * @return the checkpointId value.
     */
    public String checkpointId() {
        return this.checkpointId;
    }

    /**
     * Set the checkpointId property: Gets ID of the checkpoint.
     *
     * @param checkpointId the checkpointId value to set.
     * @return the Checkpoint object itself.
     */
    public Checkpoint withCheckpointId(String checkpointId) {
        this.checkpointId = checkpointId;
        return this;
    }

    /**
     * Get the name property: Gets name of the checkpoint.
     *
     * @return the name value.
     */
    public String name() {
        return this.name;
    }

    /**
     * Set the name property: Gets name of the checkpoint.
     *
     * @param name the name value to set.
     * @return the Checkpoint object itself.
     */
    public Checkpoint withName(String name) {
        this.name = name;
        return this;
    }

    /**
     * Get the description property: Gets description of the checkpoint.
     *
     * @return the description value.
     */
    public String description() {
        return this.description;
    }

    /**
     * Set the description property: Gets description of the checkpoint.
     *
     * @param description the description value to set.
     * @return the Checkpoint object itself.
     */
    public Checkpoint withDescription(String description) {
        this.description = description;
        return this;
    }

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