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

package com.azure.resourcemanager.recoveryservicessiterecovery.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;

/** Recovery plan manual action details. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeName("ManualActionDetails")
@Fluent
public final class RecoveryPlanManualActionDetails extends RecoveryPlanActionDetails {
    /*
     * The manual action description.
     */
    @JsonProperty(value = "description")
    private String description;

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

    /**
     * Get the description property: The manual action description.
     *
     * @return the description value.
     */
    public String description() {
        return this.description;
    }

    /**
     * Set the description property: The manual action description.
     *
     * @param description the description value to set.
     * @return the RecoveryPlanManualActionDetails object itself.
     */
    public RecoveryPlanManualActionDetails withDescription(String description) {
        this.description = description;
        return this;
    }

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