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

com.pulumi.azurenative.edgeorder.outputs.ProductDetailsResponse Maven / Gradle / Ivy

There is a newer version: 2.89.2
Show newest version
// *** 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.azurenative.edgeorder.outputs.AdditionalConfigurationResponse;
import com.pulumi.azurenative.edgeorder.outputs.ConfigurationDeviceDetailsResponse;
import com.pulumi.azurenative.edgeorder.outputs.DeviceDetailsResponse;
import com.pulumi.azurenative.edgeorder.outputs.DisplayInfoResponse;
import com.pulumi.azurenative.edgeorder.outputs.HierarchyInformationResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ProductDetailsResponse {
    /**
     * @return Details of all child configurations that are part of the order item.
     * 
     */
    private @Nullable List childConfigurationDeviceDetails;
    /**
     * @return Quantity of the product
     * 
     */
    private Integer count;
    /**
     * @return list of device details
     * 
     */
    private List deviceDetails;
    /**
     * @return Display details of the product
     * 
     */
    private @Nullable DisplayInfoResponse displayInfo;
    /**
     * @return Hierarchy of the product which uniquely identifies the product
     * 
     */
    private HierarchyInformationResponse hierarchyInformation;
    /**
     * @return Identification type of the configuration.
     * 
     */
    private @Nullable String identificationType;
    /**
     * @return List of additional configurations customer wants in the order item apart from the ones included in the base configuration.
     * 
     */
    private @Nullable List optInAdditionalConfigurations;
    /**
     * @return Device details of the parent configuration.
     * 
     */
    private @Nullable DeviceDetailsResponse parentDeviceDetails;
    /**
     * @return Double encryption status of the configuration. Read-only field.
     * 
     */
    private String productDoubleEncryptionStatus;

    private ProductDetailsResponse() {}
    /**
     * @return Details of all child configurations that are part of the order item.
     * 
     */
    public List childConfigurationDeviceDetails() {
        return this.childConfigurationDeviceDetails == null ? List.of() : this.childConfigurationDeviceDetails;
    }
    /**
     * @return Quantity of the product
     * 
     */
    public Integer count() {
        return this.count;
    }
    /**
     * @return list of device details
     * 
     */
    public List deviceDetails() {
        return this.deviceDetails;
    }
    /**
     * @return Display details of the product
     * 
     */
    public Optional displayInfo() {
        return Optional.ofNullable(this.displayInfo);
    }
    /**
     * @return Hierarchy of the product which uniquely identifies the product
     * 
     */
    public HierarchyInformationResponse hierarchyInformation() {
        return this.hierarchyInformation;
    }
    /**
     * @return Identification type of the configuration.
     * 
     */
    public Optional identificationType() {
        return Optional.ofNullable(this.identificationType);
    }
    /**
     * @return List of additional configurations customer wants in the order item apart from the ones included in the base configuration.
     * 
     */
    public List optInAdditionalConfigurations() {
        return this.optInAdditionalConfigurations == null ? List.of() : this.optInAdditionalConfigurations;
    }
    /**
     * @return Device details of the parent configuration.
     * 
     */
    public Optional parentDeviceDetails() {
        return Optional.ofNullable(this.parentDeviceDetails);
    }
    /**
     * @return Double encryption status of the configuration. Read-only field.
     * 
     */
    public String productDoubleEncryptionStatus() {
        return this.productDoubleEncryptionStatus;
    }

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

    public static Builder builder(ProductDetailsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List childConfigurationDeviceDetails;
        private Integer count;
        private List deviceDetails;
        private @Nullable DisplayInfoResponse displayInfo;
        private HierarchyInformationResponse hierarchyInformation;
        private @Nullable String identificationType;
        private @Nullable List optInAdditionalConfigurations;
        private @Nullable DeviceDetailsResponse parentDeviceDetails;
        private String productDoubleEncryptionStatus;
        public Builder() {}
        public Builder(ProductDetailsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.childConfigurationDeviceDetails = defaults.childConfigurationDeviceDetails;
    	      this.count = defaults.count;
    	      this.deviceDetails = defaults.deviceDetails;
    	      this.displayInfo = defaults.displayInfo;
    	      this.hierarchyInformation = defaults.hierarchyInformation;
    	      this.identificationType = defaults.identificationType;
    	      this.optInAdditionalConfigurations = defaults.optInAdditionalConfigurations;
    	      this.parentDeviceDetails = defaults.parentDeviceDetails;
    	      this.productDoubleEncryptionStatus = defaults.productDoubleEncryptionStatus;
        }

        @CustomType.Setter
        public Builder childConfigurationDeviceDetails(@Nullable List childConfigurationDeviceDetails) {

            this.childConfigurationDeviceDetails = childConfigurationDeviceDetails;
            return this;
        }
        public Builder childConfigurationDeviceDetails(ConfigurationDeviceDetailsResponse... childConfigurationDeviceDetails) {
            return childConfigurationDeviceDetails(List.of(childConfigurationDeviceDetails));
        }
        @CustomType.Setter
        public Builder count(Integer count) {
            if (count == null) {
              throw new MissingRequiredPropertyException("ProductDetailsResponse", "count");
            }
            this.count = count;
            return this;
        }
        @CustomType.Setter
        public Builder deviceDetails(List deviceDetails) {
            if (deviceDetails == null) {
              throw new MissingRequiredPropertyException("ProductDetailsResponse", "deviceDetails");
            }
            this.deviceDetails = deviceDetails;
            return this;
        }
        public Builder deviceDetails(DeviceDetailsResponse... deviceDetails) {
            return deviceDetails(List.of(deviceDetails));
        }
        @CustomType.Setter
        public Builder displayInfo(@Nullable DisplayInfoResponse displayInfo) {

            this.displayInfo = displayInfo;
            return this;
        }
        @CustomType.Setter
        public Builder hierarchyInformation(HierarchyInformationResponse hierarchyInformation) {
            if (hierarchyInformation == null) {
              throw new MissingRequiredPropertyException("ProductDetailsResponse", "hierarchyInformation");
            }
            this.hierarchyInformation = hierarchyInformation;
            return this;
        }
        @CustomType.Setter
        public Builder identificationType(@Nullable String identificationType) {

            this.identificationType = identificationType;
            return this;
        }
        @CustomType.Setter
        public Builder optInAdditionalConfigurations(@Nullable List optInAdditionalConfigurations) {

            this.optInAdditionalConfigurations = optInAdditionalConfigurations;
            return this;
        }
        public Builder optInAdditionalConfigurations(AdditionalConfigurationResponse... optInAdditionalConfigurations) {
            return optInAdditionalConfigurations(List.of(optInAdditionalConfigurations));
        }
        @CustomType.Setter
        public Builder parentDeviceDetails(@Nullable DeviceDetailsResponse parentDeviceDetails) {

            this.parentDeviceDetails = parentDeviceDetails;
            return this;
        }
        @CustomType.Setter
        public Builder productDoubleEncryptionStatus(String productDoubleEncryptionStatus) {
            if (productDoubleEncryptionStatus == null) {
              throw new MissingRequiredPropertyException("ProductDetailsResponse", "productDoubleEncryptionStatus");
            }
            this.productDoubleEncryptionStatus = productDoubleEncryptionStatus;
            return this;
        }
        public ProductDetailsResponse build() {
            final var _resultValue = new ProductDetailsResponse();
            _resultValue.childConfigurationDeviceDetails = childConfigurationDeviceDetails;
            _resultValue.count = count;
            _resultValue.deviceDetails = deviceDetails;
            _resultValue.displayInfo = displayInfo;
            _resultValue.hierarchyInformation = hierarchyInformation;
            _resultValue.identificationType = identificationType;
            _resultValue.optInAdditionalConfigurations = optInAdditionalConfigurations;
            _resultValue.parentDeviceDetails = parentDeviceDetails;
            _resultValue.productDoubleEncryptionStatus = productDoubleEncryptionStatus;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy