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

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

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

/** Definition of the deleted automation account properties. */
@Fluent
public final class DeletedAutomationAccountProperties {
    /*
     * Gets or sets the Automation Account Resource Id.
     */
    @JsonProperty(value = "automationAccountResourceId")
    private String automationAccountResourceId;

    /*
     * Gets or sets the Automation Account Id.
     */
    @JsonProperty(value = "automationAccountId")
    private String automationAccountId;

    /*
     * Gets or sets the location of the resource.
     */
    @JsonProperty(value = "location")
    private String location;

    /*
     * Gets the deletion time.
     */
    @JsonProperty(value = "deletionTime", access = JsonProperty.Access.WRITE_ONLY)
    private OffsetDateTime deletionTime;

    /**
     * Get the automationAccountResourceId property: Gets or sets the Automation Account Resource Id.
     *
     * @return the automationAccountResourceId value.
     */
    public String automationAccountResourceId() {
        return this.automationAccountResourceId;
    }

    /**
     * Set the automationAccountResourceId property: Gets or sets the Automation Account Resource Id.
     *
     * @param automationAccountResourceId the automationAccountResourceId value to set.
     * @return the DeletedAutomationAccountProperties object itself.
     */
    public DeletedAutomationAccountProperties withAutomationAccountResourceId(String automationAccountResourceId) {
        this.automationAccountResourceId = automationAccountResourceId;
        return this;
    }

    /**
     * Get the automationAccountId property: Gets or sets the Automation Account Id.
     *
     * @return the automationAccountId value.
     */
    public String automationAccountId() {
        return this.automationAccountId;
    }

    /**
     * Set the automationAccountId property: Gets or sets the Automation Account Id.
     *
     * @param automationAccountId the automationAccountId value to set.
     * @return the DeletedAutomationAccountProperties object itself.
     */
    public DeletedAutomationAccountProperties withAutomationAccountId(String automationAccountId) {
        this.automationAccountId = automationAccountId;
        return this;
    }

    /**
     * Get the location property: Gets or sets the location of the resource.
     *
     * @return the location value.
     */
    public String location() {
        return this.location;
    }

    /**
     * Set the location property: Gets or sets the location of the resource.
     *
     * @param location the location value to set.
     * @return the DeletedAutomationAccountProperties object itself.
     */
    public DeletedAutomationAccountProperties withLocation(String location) {
        this.location = location;
        return this;
    }

    /**
     * Get the deletionTime property: Gets the deletion time.
     *
     * @return the deletionTime value.
     */
    public OffsetDateTime deletionTime() {
        return this.deletionTime;
    }

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