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

package com.azure.resourcemanager.recoveryservices.models;

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

/** Class to represent shoebox log specification in json client discovery. */
@Fluent
public final class ClientDiscoveryForLogSpecification {
    /*
     * Name of the log.
     */
    @JsonProperty(value = "name")
    private String name;

    /*
     * Localized display name
     */
    @JsonProperty(value = "displayName")
    private String displayName;

    /*
     * Blobs created in customer storage account per hour
     */
    @JsonProperty(value = "blobDuration")
    private String blobDuration;

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

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

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

    /**
     * Get the displayName property: Localized display name.
     *
     * @return the displayName value.
     */
    public String displayName() {
        return this.displayName;
    }

    /**
     * Set the displayName property: Localized display name.
     *
     * @param displayName the displayName value to set.
     * @return the ClientDiscoveryForLogSpecification object itself.
     */
    public ClientDiscoveryForLogSpecification withDisplayName(String displayName) {
        this.displayName = displayName;
        return this;
    }

    /**
     * Get the blobDuration property: Blobs created in customer storage account per hour.
     *
     * @return the blobDuration value.
     */
    public String blobDuration() {
        return this.blobDuration;
    }

    /**
     * Set the blobDuration property: Blobs created in customer storage account per hour.
     *
     * @param blobDuration the blobDuration value to set.
     * @return the ClientDiscoveryForLogSpecification object itself.
     */
    public ClientDiscoveryForLogSpecification withBlobDuration(String blobDuration) {
        this.blobDuration = blobDuration;
        return this;
    }

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