
com.pulumi.azurenative.databox.outputs.TransportPreferencesResponse 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.Boolean;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class TransportPreferencesResponse {
/**
* @return Read only property which indicates whether transport preferences has been updated or not after device is prepared.
*
*/
private Boolean isUpdated;
/**
* @return Indicates Shipment Logistics type that the customer preferred.
*
*/
private String preferredShipmentType;
private TransportPreferencesResponse() {}
/**
* @return Read only property which indicates whether transport preferences has been updated or not after device is prepared.
*
*/
public Boolean isUpdated() {
return this.isUpdated;
}
/**
* @return Indicates Shipment Logistics type that the customer preferred.
*
*/
public String preferredShipmentType() {
return this.preferredShipmentType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(TransportPreferencesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Boolean isUpdated;
private String preferredShipmentType;
public Builder() {}
public Builder(TransportPreferencesResponse defaults) {
Objects.requireNonNull(defaults);
this.isUpdated = defaults.isUpdated;
this.preferredShipmentType = defaults.preferredShipmentType;
}
@CustomType.Setter
public Builder isUpdated(Boolean isUpdated) {
if (isUpdated == null) {
throw new MissingRequiredPropertyException("TransportPreferencesResponse", "isUpdated");
}
this.isUpdated = isUpdated;
return this;
}
@CustomType.Setter
public Builder preferredShipmentType(String preferredShipmentType) {
if (preferredShipmentType == null) {
throw new MissingRequiredPropertyException("TransportPreferencesResponse", "preferredShipmentType");
}
this.preferredShipmentType = preferredShipmentType;
return this;
}
public TransportPreferencesResponse build() {
final var _resultValue = new TransportPreferencesResponse();
_resultValue.isUpdated = isUpdated;
_resultValue.preferredShipmentType = preferredShipmentType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy