
com.pulumi.azurenative.edgeorder.outputs.ReverseShippingDetailsResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.edgeorder.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class ReverseShippingDetailsResponse {
/**
* @return Carrier Name for display purpose. Not to be used for any processing.
*
*/
private String carrierDisplayName;
/**
* @return Name of the carrier.
*
*/
private String carrierName;
/**
* @return SAS key to download the reverse shipment label of the package.
*
*/
private String sasKeyForLabel;
/**
* @return TrackingId of the package
*
*/
private String trackingId;
/**
* @return TrackingUrl of the package.
*
*/
private String trackingUrl;
private ReverseShippingDetailsResponse() {}
/**
* @return Carrier Name for display purpose. Not to be used for any processing.
*
*/
public String carrierDisplayName() {
return this.carrierDisplayName;
}
/**
* @return Name of the carrier.
*
*/
public String carrierName() {
return this.carrierName;
}
/**
* @return SAS key to download the reverse shipment label of the package.
*
*/
public String sasKeyForLabel() {
return this.sasKeyForLabel;
}
/**
* @return TrackingId of the package
*
*/
public String trackingId() {
return this.trackingId;
}
/**
* @return TrackingUrl of the package.
*
*/
public String trackingUrl() {
return this.trackingUrl;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ReverseShippingDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String carrierDisplayName;
private String carrierName;
private String sasKeyForLabel;
private String trackingId;
private String trackingUrl;
public Builder() {}
public Builder(ReverseShippingDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.carrierDisplayName = defaults.carrierDisplayName;
this.carrierName = defaults.carrierName;
this.sasKeyForLabel = defaults.sasKeyForLabel;
this.trackingId = defaults.trackingId;
this.trackingUrl = defaults.trackingUrl;
}
@CustomType.Setter
public Builder carrierDisplayName(String carrierDisplayName) {
if (carrierDisplayName == null) {
throw new MissingRequiredPropertyException("ReverseShippingDetailsResponse", "carrierDisplayName");
}
this.carrierDisplayName = carrierDisplayName;
return this;
}
@CustomType.Setter
public Builder carrierName(String carrierName) {
if (carrierName == null) {
throw new MissingRequiredPropertyException("ReverseShippingDetailsResponse", "carrierName");
}
this.carrierName = carrierName;
return this;
}
@CustomType.Setter
public Builder sasKeyForLabel(String sasKeyForLabel) {
if (sasKeyForLabel == null) {
throw new MissingRequiredPropertyException("ReverseShippingDetailsResponse", "sasKeyForLabel");
}
this.sasKeyForLabel = sasKeyForLabel;
return this;
}
@CustomType.Setter
public Builder trackingId(String trackingId) {
if (trackingId == null) {
throw new MissingRequiredPropertyException("ReverseShippingDetailsResponse", "trackingId");
}
this.trackingId = trackingId;
return this;
}
@CustomType.Setter
public Builder trackingUrl(String trackingUrl) {
if (trackingUrl == null) {
throw new MissingRequiredPropertyException("ReverseShippingDetailsResponse", "trackingUrl");
}
this.trackingUrl = trackingUrl;
return this;
}
public ReverseShippingDetailsResponse build() {
final var _resultValue = new ReverseShippingDetailsResponse();
_resultValue.carrierDisplayName = carrierDisplayName;
_resultValue.carrierName = carrierName;
_resultValue.sasKeyForLabel = sasKeyForLabel;
_resultValue.trackingId = trackingId;
_resultValue.trackingUrl = trackingUrl;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy