
com.pulumi.azurenative.importexport.outputs.ShippingInformationResponse 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.importexport.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ShippingInformationResponse {
/**
* @return Additional shipping information for customer, specific to datacenter to which customer should send their disks.
*
*/
private String additionalInformation;
/**
* @return The city name to use when returning the drives.
*
*/
private @Nullable String city;
/**
* @return The country or region to use when returning the drives.
*
*/
private @Nullable String countryOrRegion;
/**
* @return Phone number of the recipient of the returned drives.
*
*/
private @Nullable String phone;
/**
* @return The postal code to use when returning the drives.
*
*/
private @Nullable String postalCode;
/**
* @return The name of the recipient who will receive the hard drives when they are returned.
*
*/
private @Nullable String recipientName;
/**
* @return The state or province to use when returning the drives.
*
*/
private @Nullable String stateOrProvince;
/**
* @return The first line of the street address to use when returning the drives.
*
*/
private @Nullable String streetAddress1;
/**
* @return The second line of the street address to use when returning the drives.
*
*/
private @Nullable String streetAddress2;
private ShippingInformationResponse() {}
/**
* @return Additional shipping information for customer, specific to datacenter to which customer should send their disks.
*
*/
public String additionalInformation() {
return this.additionalInformation;
}
/**
* @return The city name to use when returning the drives.
*
*/
public Optional city() {
return Optional.ofNullable(this.city);
}
/**
* @return The country or region to use when returning the drives.
*
*/
public Optional countryOrRegion() {
return Optional.ofNullable(this.countryOrRegion);
}
/**
* @return Phone number of the recipient of the returned drives.
*
*/
public Optional phone() {
return Optional.ofNullable(this.phone);
}
/**
* @return The postal code to use when returning the drives.
*
*/
public Optional postalCode() {
return Optional.ofNullable(this.postalCode);
}
/**
* @return The name of the recipient who will receive the hard drives when they are returned.
*
*/
public Optional recipientName() {
return Optional.ofNullable(this.recipientName);
}
/**
* @return The state or province to use when returning the drives.
*
*/
public Optional stateOrProvince() {
return Optional.ofNullable(this.stateOrProvince);
}
/**
* @return The first line of the street address to use when returning the drives.
*
*/
public Optional streetAddress1() {
return Optional.ofNullable(this.streetAddress1);
}
/**
* @return The second line of the street address to use when returning the drives.
*
*/
public Optional streetAddress2() {
return Optional.ofNullable(this.streetAddress2);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ShippingInformationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String additionalInformation;
private @Nullable String city;
private @Nullable String countryOrRegion;
private @Nullable String phone;
private @Nullable String postalCode;
private @Nullable String recipientName;
private @Nullable String stateOrProvince;
private @Nullable String streetAddress1;
private @Nullable String streetAddress2;
public Builder() {}
public Builder(ShippingInformationResponse defaults) {
Objects.requireNonNull(defaults);
this.additionalInformation = defaults.additionalInformation;
this.city = defaults.city;
this.countryOrRegion = defaults.countryOrRegion;
this.phone = defaults.phone;
this.postalCode = defaults.postalCode;
this.recipientName = defaults.recipientName;
this.stateOrProvince = defaults.stateOrProvince;
this.streetAddress1 = defaults.streetAddress1;
this.streetAddress2 = defaults.streetAddress2;
}
@CustomType.Setter
public Builder additionalInformation(String additionalInformation) {
if (additionalInformation == null) {
throw new MissingRequiredPropertyException("ShippingInformationResponse", "additionalInformation");
}
this.additionalInformation = additionalInformation;
return this;
}
@CustomType.Setter
public Builder city(@Nullable String city) {
this.city = city;
return this;
}
@CustomType.Setter
public Builder countryOrRegion(@Nullable String countryOrRegion) {
this.countryOrRegion = countryOrRegion;
return this;
}
@CustomType.Setter
public Builder phone(@Nullable String phone) {
this.phone = phone;
return this;
}
@CustomType.Setter
public Builder postalCode(@Nullable String postalCode) {
this.postalCode = postalCode;
return this;
}
@CustomType.Setter
public Builder recipientName(@Nullable String recipientName) {
this.recipientName = recipientName;
return this;
}
@CustomType.Setter
public Builder stateOrProvince(@Nullable String stateOrProvince) {
this.stateOrProvince = stateOrProvince;
return this;
}
@CustomType.Setter
public Builder streetAddress1(@Nullable String streetAddress1) {
this.streetAddress1 = streetAddress1;
return this;
}
@CustomType.Setter
public Builder streetAddress2(@Nullable String streetAddress2) {
this.streetAddress2 = streetAddress2;
return this;
}
public ShippingInformationResponse build() {
final var _resultValue = new ShippingInformationResponse();
_resultValue.additionalInformation = additionalInformation;
_resultValue.city = city;
_resultValue.countryOrRegion = countryOrRegion;
_resultValue.phone = phone;
_resultValue.postalCode = postalCode;
_resultValue.recipientName = recipientName;
_resultValue.stateOrProvince = stateOrProvince;
_resultValue.streetAddress1 = streetAddress1;
_resultValue.streetAddress2 = streetAddress2;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy