sdk/java/src/main/java/com/pulumi/ovh/CloudProject/outputs/ProjectOrderDetail.java
// *** 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.ovh.CloudProject.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ProjectOrderDetail {
    /**
     * @return A description associated with the user.
     * 
     */
    private @Nullable String description;
    /**
     * @return expiration date
     * 
     */
    private @Nullable String domain;
    /**
     * @return order detail id
     * 
     */
    private @Nullable Integer orderDetailId;
    /**
     * @return quantity
     * 
     */
    private @Nullable String quantity;

    private ProjectOrderDetail() {}
    /**
     * @return A description associated with the user.
     * 
     */
    public Optional<String> description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return expiration date
     * 
     */
    public Optional<String> domain() {
        return Optional.ofNullable(this.domain);
    }
    /**
     * @return order detail id
     * 
     */
    public Optional<Integer> orderDetailId() {
        return Optional.ofNullable(this.orderDetailId);
    }
    /**
     * @return quantity
     * 
     */
    public Optional<String> quantity() {
        return Optional.ofNullable(this.quantity);
    }

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

    public static Builder builder(ProjectOrderDetail defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String description;
        private @Nullable String domain;
        private @Nullable Integer orderDetailId;
        private @Nullable String quantity;
        public Builder() {}
        public Builder(ProjectOrderDetail defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.description = defaults.description;
    	      this.domain = defaults.domain;
    	      this.orderDetailId = defaults.orderDetailId;
    	      this.quantity = defaults.quantity;
        }

        @CustomType.Setter
        public Builder description(@Nullable String description) {
            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder domain(@Nullable String domain) {
            this.domain = domain;
            return this;
        }
        @CustomType.Setter
        public Builder orderDetailId(@Nullable Integer orderDetailId) {
            this.orderDetailId = orderDetailId;
            return this;
        }
        @CustomType.Setter
        public Builder quantity(@Nullable String quantity) {
            this.quantity = quantity;
            return this;
        }
        public ProjectOrderDetail build() {
            final var o = new ProjectOrderDetail();
            o.description = description;
            o.domain = domain;
            o.orderDetailId = orderDetailId;
            o.quantity = quantity;
            return o;
        }
    }
}
