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

package com.azure.resourcemanager.databox.models;

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

/** Additional delivery info. */
@Fluent
public final class JobDeliveryInfo {
    /*
     * Scheduled date time.
     */
    @JsonProperty(value = "scheduledDateTime")
    private OffsetDateTime scheduledDateTime;

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

    /**
     * Get the scheduledDateTime property: Scheduled date time.
     *
     * @return the scheduledDateTime value.
     */
    public OffsetDateTime scheduledDateTime() {
        return this.scheduledDateTime;
    }

    /**
     * Set the scheduledDateTime property: Scheduled date time.
     *
     * @param scheduledDateTime the scheduledDateTime value to set.
     * @return the JobDeliveryInfo object itself.
     */
    public JobDeliveryInfo withScheduledDateTime(OffsetDateTime scheduledDateTime) {
        this.scheduledDateTime = scheduledDateTime;
        return this;
    }

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