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

package com.azure.resourcemanager.storageimportexport.models;

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

/** Contains information about the Microsoft datacenter to which the drives should be shipped. */
@Fluent
public final class ShippingInformation {
    /*
     * The name of the recipient who will receive the hard drives when they are returned.
     */
    @JsonProperty(value = "recipientName")
    private String recipientName;

    /*
     * The first line of the street address to use when returning the drives.
     */
    @JsonProperty(value = "streetAddress1")
    private String streetAddress1;

    /*
     * The second line of the street address to use when returning the drives.
     */
    @JsonProperty(value = "streetAddress2")
    private String streetAddress2;

    /*
     * The city name to use when returning the drives.
     */
    @JsonProperty(value = "city")
    private String city;

    /*
     * The state or province to use when returning the drives.
     */
    @JsonProperty(value = "stateOrProvince")
    private String stateOrProvince;

    /*
     * The postal code to use when returning the drives.
     */
    @JsonProperty(value = "postalCode")
    private String postalCode;

    /*
     * The country or region to use when returning the drives.
     */
    @JsonProperty(value = "countryOrRegion")
    private String countryOrRegion;

    /*
     * Phone number of the recipient of the returned drives.
     */
    @JsonProperty(value = "phone")
    private String phone;

    /*
     * Additional shipping information for customer, specific to datacenter to which customer should send their disks.
     */
    @JsonProperty(value = "additionalInformation", access = JsonProperty.Access.WRITE_ONLY)
    private String additionalInformation;

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

    /**
     * Get the recipientName property: The name of the recipient who will receive the hard drives when they are
     * returned.
     *
     * @return the recipientName value.
     */
    public String recipientName() {
        return this.recipientName;
    }

    /**
     * Set the recipientName property: The name of the recipient who will receive the hard drives when they are
     * returned.
     *
     * @param recipientName the recipientName value to set.
     * @return the ShippingInformation object itself.
     */
    public ShippingInformation withRecipientName(String recipientName) {
        this.recipientName = recipientName;
        return this;
    }

    /**
     * Get the streetAddress1 property: The first line of the street address to use when returning the drives.
     *
     * @return the streetAddress1 value.
     */
    public String streetAddress1() {
        return this.streetAddress1;
    }

    /**
     * Set the streetAddress1 property: The first line of the street address to use when returning the drives.
     *
     * @param streetAddress1 the streetAddress1 value to set.
     * @return the ShippingInformation object itself.
     */
    public ShippingInformation withStreetAddress1(String streetAddress1) {
        this.streetAddress1 = streetAddress1;
        return this;
    }

    /**
     * Get the streetAddress2 property: The second line of the street address to use when returning the drives.
     *
     * @return the streetAddress2 value.
     */
    public String streetAddress2() {
        return this.streetAddress2;
    }

    /**
     * Set the streetAddress2 property: The second line of the street address to use when returning the drives.
     *
     * @param streetAddress2 the streetAddress2 value to set.
     * @return the ShippingInformation object itself.
     */
    public ShippingInformation withStreetAddress2(String streetAddress2) {
        this.streetAddress2 = streetAddress2;
        return this;
    }

    /**
     * Get the city property: The city name to use when returning the drives.
     *
     * @return the city value.
     */
    public String city() {
        return this.city;
    }

    /**
     * Set the city property: The city name to use when returning the drives.
     *
     * @param city the city value to set.
     * @return the ShippingInformation object itself.
     */
    public ShippingInformation withCity(String city) {
        this.city = city;
        return this;
    }

    /**
     * Get the stateOrProvince property: The state or province to use when returning the drives.
     *
     * @return the stateOrProvince value.
     */
    public String stateOrProvince() {
        return this.stateOrProvince;
    }

    /**
     * Set the stateOrProvince property: The state or province to use when returning the drives.
     *
     * @param stateOrProvince the stateOrProvince value to set.
     * @return the ShippingInformation object itself.
     */
    public ShippingInformation withStateOrProvince(String stateOrProvince) {
        this.stateOrProvince = stateOrProvince;
        return this;
    }

    /**
     * Get the postalCode property: The postal code to use when returning the drives.
     *
     * @return the postalCode value.
     */
    public String postalCode() {
        return this.postalCode;
    }

    /**
     * Set the postalCode property: The postal code to use when returning the drives.
     *
     * @param postalCode the postalCode value to set.
     * @return the ShippingInformation object itself.
     */
    public ShippingInformation withPostalCode(String postalCode) {
        this.postalCode = postalCode;
        return this;
    }

    /**
     * Get the countryOrRegion property: The country or region to use when returning the drives.
     *
     * @return the countryOrRegion value.
     */
    public String countryOrRegion() {
        return this.countryOrRegion;
    }

    /**
     * Set the countryOrRegion property: The country or region to use when returning the drives.
     *
     * @param countryOrRegion the countryOrRegion value to set.
     * @return the ShippingInformation object itself.
     */
    public ShippingInformation withCountryOrRegion(String countryOrRegion) {
        this.countryOrRegion = countryOrRegion;
        return this;
    }

    /**
     * Get the phone property: Phone number of the recipient of the returned drives.
     *
     * @return the phone value.
     */
    public String phone() {
        return this.phone;
    }

    /**
     * Set the phone property: Phone number of the recipient of the returned drives.
     *
     * @param phone the phone value to set.
     * @return the ShippingInformation object itself.
     */
    public ShippingInformation withPhone(String phone) {
        this.phone = phone;
        return this;
    }

    /**
     * Get the additionalInformation property: Additional shipping information for customer, specific to datacenter to
     * which customer should send their disks.
     *
     * @return the additionalInformation value.
     */
    public String additionalInformation() {
        return this.additionalInformation;
    }

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