
com.pulumi.azurenative.databoxedge.outputs.TrackingInfoResponse 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.databoxedge.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class TrackingInfoResponse {
/**
* @return Name of the carrier used in the delivery.
*
*/
private @Nullable String carrierName;
/**
* @return Serial number of the device being tracked.
*
*/
private @Nullable String serialNumber;
/**
* @return Tracking ID of the shipment.
*
*/
private @Nullable String trackingId;
/**
* @return Tracking URL of the shipment.
*
*/
private @Nullable String trackingUrl;
private TrackingInfoResponse() {}
/**
* @return Name of the carrier used in the delivery.
*
*/
public Optional carrierName() {
return Optional.ofNullable(this.carrierName);
}
/**
* @return Serial number of the device being tracked.
*
*/
public Optional serialNumber() {
return Optional.ofNullable(this.serialNumber);
}
/**
* @return Tracking ID of the shipment.
*
*/
public Optional trackingId() {
return Optional.ofNullable(this.trackingId);
}
/**
* @return Tracking URL of the shipment.
*
*/
public Optional trackingUrl() {
return Optional.ofNullable(this.trackingUrl);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(TrackingInfoResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String carrierName;
private @Nullable String serialNumber;
private @Nullable String trackingId;
private @Nullable String trackingUrl;
public Builder() {}
public Builder(TrackingInfoResponse defaults) {
Objects.requireNonNull(defaults);
this.carrierName = defaults.carrierName;
this.serialNumber = defaults.serialNumber;
this.trackingId = defaults.trackingId;
this.trackingUrl = defaults.trackingUrl;
}
@CustomType.Setter
public Builder carrierName(@Nullable String carrierName) {
this.carrierName = carrierName;
return this;
}
@CustomType.Setter
public Builder serialNumber(@Nullable String serialNumber) {
this.serialNumber = serialNumber;
return this;
}
@CustomType.Setter
public Builder trackingId(@Nullable String trackingId) {
this.trackingId = trackingId;
return this;
}
@CustomType.Setter
public Builder trackingUrl(@Nullable String trackingUrl) {
this.trackingUrl = trackingUrl;
return this;
}
public TrackingInfoResponse build() {
final var _resultValue = new TrackingInfoResponse();
_resultValue.carrierName = carrierName;
_resultValue.serialNumber = serialNumber;
_resultValue.trackingId = trackingId;
_resultValue.trackingUrl = trackingUrl;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy