// 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;

/** Package carrier details. */
@Fluent
public final class PackageCarrierDetails {
    /*
     * Carrier Account Number of customer for customer disk.
     */
    @JsonProperty(value = "carrierAccountNumber")
    private String carrierAccountNumber;

    /*
     * Name of the carrier.
     */
    @JsonProperty(value = "carrierName")
    private String carrierName;

    /*
     * Tracking Id of shipment.
     */
    @JsonProperty(value = "trackingId")
    private String trackingId;

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

    /**
     * Get the carrierAccountNumber property: Carrier Account Number of customer for customer disk.
     *
     * @return the carrierAccountNumber value.
     */
    public String carrierAccountNumber() {
        return this.carrierAccountNumber;
    }

    /**
     * Set the carrierAccountNumber property: Carrier Account Number of customer for customer disk.
     *
     * @param carrierAccountNumber the carrierAccountNumber value to set.
     * @return the PackageCarrierDetails object itself.
     */
    public PackageCarrierDetails withCarrierAccountNumber(String carrierAccountNumber) {
        this.carrierAccountNumber = carrierAccountNumber;
        return this;
    }

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

    /**
     * Set the carrierName property: Name of the carrier.
     *
     * @param carrierName the carrierName value to set.
     * @return the PackageCarrierDetails object itself.
     */
    public PackageCarrierDetails withCarrierName(String carrierName) {
        this.carrierName = carrierName;
        return this;
    }

    /**
     * Get the trackingId property: Tracking Id of shipment.
     *
     * @return the trackingId value.
     */
    public String trackingId() {
        return this.trackingId;
    }

    /**
     * Set the trackingId property: Tracking Id of shipment.
     *
     * @param trackingId the trackingId value to set.
     * @return the PackageCarrierDetails object itself.
     */
    public PackageCarrierDetails withTrackingId(String trackingId) {
        this.trackingId = trackingId;
        return this;
    }

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