All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.databox.outputs.DatacenterAddressLocationResponseResponse Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.databox.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class DatacenterAddressLocationResponseResponse {
    /**
     * @return Special instruction for shipping
     * 
     */
    private String additionalShippingInformation;
    /**
     * @return Address type
     * 
     */
    private String addressType;
    /**
     * @return City name
     * 
     */
    private String city;
    /**
     * @return Company name
     * 
     */
    private String company;
    /**
     * @return Contact person name
     * 
     */
    private String contactPersonName;
    /**
     * @return name of the country
     * 
     */
    private String country;
    /**
     * @return Azure Location where the Data Center serves primarily.
     * 
     */
    private String dataCenterAzureLocation;
    /**
     * @return Data center address type
     * Expected value is 'DatacenterAddressLocation'.
     * 
     */
    private String datacenterAddressType;
    /**
     * @return Phone number
     * 
     */
    private String phone;
    /**
     * @return Phone extension
     * 
     */
    private String phoneExtension;
    /**
     * @return name of the state
     * 
     */
    private String state;
    /**
     * @return Street address line 1
     * 
     */
    private String street1;
    /**
     * @return Street address line 2
     * 
     */
    private String street2;
    /**
     * @return Street address line 3
     * 
     */
    private String street3;
    /**
     * @return List of supported carriers for return shipment.
     * 
     */
    private List supportedCarriersForReturnShipment;
    /**
     * @return Zip code
     * 
     */
    private String zip;

    private DatacenterAddressLocationResponseResponse() {}
    /**
     * @return Special instruction for shipping
     * 
     */
    public String additionalShippingInformation() {
        return this.additionalShippingInformation;
    }
    /**
     * @return Address type
     * 
     */
    public String addressType() {
        return this.addressType;
    }
    /**
     * @return City name
     * 
     */
    public String city() {
        return this.city;
    }
    /**
     * @return Company name
     * 
     */
    public String company() {
        return this.company;
    }
    /**
     * @return Contact person name
     * 
     */
    public String contactPersonName() {
        return this.contactPersonName;
    }
    /**
     * @return name of the country
     * 
     */
    public String country() {
        return this.country;
    }
    /**
     * @return Azure Location where the Data Center serves primarily.
     * 
     */
    public String dataCenterAzureLocation() {
        return this.dataCenterAzureLocation;
    }
    /**
     * @return Data center address type
     * Expected value is 'DatacenterAddressLocation'.
     * 
     */
    public String datacenterAddressType() {
        return this.datacenterAddressType;
    }
    /**
     * @return Phone number
     * 
     */
    public String phone() {
        return this.phone;
    }
    /**
     * @return Phone extension
     * 
     */
    public String phoneExtension() {
        return this.phoneExtension;
    }
    /**
     * @return name of the state
     * 
     */
    public String state() {
        return this.state;
    }
    /**
     * @return Street address line 1
     * 
     */
    public String street1() {
        return this.street1;
    }
    /**
     * @return Street address line 2
     * 
     */
    public String street2() {
        return this.street2;
    }
    /**
     * @return Street address line 3
     * 
     */
    public String street3() {
        return this.street3;
    }
    /**
     * @return List of supported carriers for return shipment.
     * 
     */
    public List supportedCarriersForReturnShipment() {
        return this.supportedCarriersForReturnShipment;
    }
    /**
     * @return Zip code
     * 
     */
    public String zip() {
        return this.zip;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(DatacenterAddressLocationResponseResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String additionalShippingInformation;
        private String addressType;
        private String city;
        private String company;
        private String contactPersonName;
        private String country;
        private String dataCenterAzureLocation;
        private String datacenterAddressType;
        private String phone;
        private String phoneExtension;
        private String state;
        private String street1;
        private String street2;
        private String street3;
        private List supportedCarriersForReturnShipment;
        private String zip;
        public Builder() {}
        public Builder(DatacenterAddressLocationResponseResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.additionalShippingInformation = defaults.additionalShippingInformation;
    	      this.addressType = defaults.addressType;
    	      this.city = defaults.city;
    	      this.company = defaults.company;
    	      this.contactPersonName = defaults.contactPersonName;
    	      this.country = defaults.country;
    	      this.dataCenterAzureLocation = defaults.dataCenterAzureLocation;
    	      this.datacenterAddressType = defaults.datacenterAddressType;
    	      this.phone = defaults.phone;
    	      this.phoneExtension = defaults.phoneExtension;
    	      this.state = defaults.state;
    	      this.street1 = defaults.street1;
    	      this.street2 = defaults.street2;
    	      this.street3 = defaults.street3;
    	      this.supportedCarriersForReturnShipment = defaults.supportedCarriersForReturnShipment;
    	      this.zip = defaults.zip;
        }

        @CustomType.Setter
        public Builder additionalShippingInformation(String additionalShippingInformation) {
            if (additionalShippingInformation == null) {
              throw new MissingRequiredPropertyException("DatacenterAddressLocationResponseResponse", "additionalShippingInformation");
            }
            this.additionalShippingInformation = additionalShippingInformation;
            return this;
        }
        @CustomType.Setter
        public Builder addressType(String addressType) {
            if (addressType == null) {
              throw new MissingRequiredPropertyException("DatacenterAddressLocationResponseResponse", "addressType");
            }
            this.addressType = addressType;
            return this;
        }
        @CustomType.Setter
        public Builder city(String city) {
            if (city == null) {
              throw new MissingRequiredPropertyException("DatacenterAddressLocationResponseResponse", "city");
            }
            this.city = city;
            return this;
        }
        @CustomType.Setter
        public Builder company(String company) {
            if (company == null) {
              throw new MissingRequiredPropertyException("DatacenterAddressLocationResponseResponse", "company");
            }
            this.company = company;
            return this;
        }
        @CustomType.Setter
        public Builder contactPersonName(String contactPersonName) {
            if (contactPersonName == null) {
              throw new MissingRequiredPropertyException("DatacenterAddressLocationResponseResponse", "contactPersonName");
            }
            this.contactPersonName = contactPersonName;
            return this;
        }
        @CustomType.Setter
        public Builder country(String country) {
            if (country == null) {
              throw new MissingRequiredPropertyException("DatacenterAddressLocationResponseResponse", "country");
            }
            this.country = country;
            return this;
        }
        @CustomType.Setter
        public Builder dataCenterAzureLocation(String dataCenterAzureLocation) {
            if (dataCenterAzureLocation == null) {
              throw new MissingRequiredPropertyException("DatacenterAddressLocationResponseResponse", "dataCenterAzureLocation");
            }
            this.dataCenterAzureLocation = dataCenterAzureLocation;
            return this;
        }
        @CustomType.Setter
        public Builder datacenterAddressType(String datacenterAddressType) {
            if (datacenterAddressType == null) {
              throw new MissingRequiredPropertyException("DatacenterAddressLocationResponseResponse", "datacenterAddressType");
            }
            this.datacenterAddressType = datacenterAddressType;
            return this;
        }
        @CustomType.Setter
        public Builder phone(String phone) {
            if (phone == null) {
              throw new MissingRequiredPropertyException("DatacenterAddressLocationResponseResponse", "phone");
            }
            this.phone = phone;
            return this;
        }
        @CustomType.Setter
        public Builder phoneExtension(String phoneExtension) {
            if (phoneExtension == null) {
              throw new MissingRequiredPropertyException("DatacenterAddressLocationResponseResponse", "phoneExtension");
            }
            this.phoneExtension = phoneExtension;
            return this;
        }
        @CustomType.Setter
        public Builder state(String state) {
            if (state == null) {
              throw new MissingRequiredPropertyException("DatacenterAddressLocationResponseResponse", "state");
            }
            this.state = state;
            return this;
        }
        @CustomType.Setter
        public Builder street1(String street1) {
            if (street1 == null) {
              throw new MissingRequiredPropertyException("DatacenterAddressLocationResponseResponse", "street1");
            }
            this.street1 = street1;
            return this;
        }
        @CustomType.Setter
        public Builder street2(String street2) {
            if (street2 == null) {
              throw new MissingRequiredPropertyException("DatacenterAddressLocationResponseResponse", "street2");
            }
            this.street2 = street2;
            return this;
        }
        @CustomType.Setter
        public Builder street3(String street3) {
            if (street3 == null) {
              throw new MissingRequiredPropertyException("DatacenterAddressLocationResponseResponse", "street3");
            }
            this.street3 = street3;
            return this;
        }
        @CustomType.Setter
        public Builder supportedCarriersForReturnShipment(List supportedCarriersForReturnShipment) {
            if (supportedCarriersForReturnShipment == null) {
              throw new MissingRequiredPropertyException("DatacenterAddressLocationResponseResponse", "supportedCarriersForReturnShipment");
            }
            this.supportedCarriersForReturnShipment = supportedCarriersForReturnShipment;
            return this;
        }
        public Builder supportedCarriersForReturnShipment(String... supportedCarriersForReturnShipment) {
            return supportedCarriersForReturnShipment(List.of(supportedCarriersForReturnShipment));
        }
        @CustomType.Setter
        public Builder zip(String zip) {
            if (zip == null) {
              throw new MissingRequiredPropertyException("DatacenterAddressLocationResponseResponse", "zip");
            }
            this.zip = zip;
            return this;
        }
        public DatacenterAddressLocationResponseResponse build() {
            final var _resultValue = new DatacenterAddressLocationResponseResponse();
            _resultValue.additionalShippingInformation = additionalShippingInformation;
            _resultValue.addressType = addressType;
            _resultValue.city = city;
            _resultValue.company = company;
            _resultValue.contactPersonName = contactPersonName;
            _resultValue.country = country;
            _resultValue.dataCenterAzureLocation = dataCenterAzureLocation;
            _resultValue.datacenterAddressType = datacenterAddressType;
            _resultValue.phone = phone;
            _resultValue.phoneExtension = phoneExtension;
            _resultValue.state = state;
            _resultValue.street1 = street1;
            _resultValue.street2 = street2;
            _resultValue.street3 = street3;
            _resultValue.supportedCarriersForReturnShipment = supportedCarriersForReturnShipment;
            _resultValue.zip = zip;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy