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

com.ovhcloud.pulumi.ovh.Vrack.inputs.VrackOrderArgs Maven / Gradle / Ivy

There is a newer version: 1.1.0
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.ovhcloud.pulumi.ovh.Vrack.inputs;

import com.ovhcloud.pulumi.ovh.Vrack.inputs.VrackOrderDetailArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class VrackOrderArgs extends com.pulumi.resources.ResourceArgs {

    public static final VrackOrderArgs Empty = new VrackOrderArgs();

    /**
     * date
     * 
     */
    @Import(name="date")
    private @Nullable Output date;

    /**
     * @return date
     * 
     */
    public Optional> date() {
        return Optional.ofNullable(this.date);
    }

    /**
     * Information about a Bill entry
     * 
     */
    @Import(name="details")
    private @Nullable Output> details;

    /**
     * @return Information about a Bill entry
     * 
     */
    public Optional>> details() {
        return Optional.ofNullable(this.details);
    }

    /**
     * expiration date
     * 
     */
    @Import(name="expirationDate")
    private @Nullable Output expirationDate;

    /**
     * @return expiration date
     * 
     */
    public Optional> expirationDate() {
        return Optional.ofNullable(this.expirationDate);
    }

    /**
     * order id
     * 
     */
    @Import(name="orderId")
    private @Nullable Output orderId;

    /**
     * @return order id
     * 
     */
    public Optional> orderId() {
        return Optional.ofNullable(this.orderId);
    }

    private VrackOrderArgs() {}

    private VrackOrderArgs(VrackOrderArgs $) {
        this.date = $.date;
        this.details = $.details;
        this.expirationDate = $.expirationDate;
        this.orderId = $.orderId;
    }

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

    public static final class Builder {
        private VrackOrderArgs $;

        public Builder() {
            $ = new VrackOrderArgs();
        }

        public Builder(VrackOrderArgs defaults) {
            $ = new VrackOrderArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param date date
         * 
         * @return builder
         * 
         */
        public Builder date(@Nullable Output date) {
            $.date = date;
            return this;
        }

        /**
         * @param date date
         * 
         * @return builder
         * 
         */
        public Builder date(String date) {
            return date(Output.of(date));
        }

        /**
         * @param details Information about a Bill entry
         * 
         * @return builder
         * 
         */
        public Builder details(@Nullable Output> details) {
            $.details = details;
            return this;
        }

        /**
         * @param details Information about a Bill entry
         * 
         * @return builder
         * 
         */
        public Builder details(List details) {
            return details(Output.of(details));
        }

        /**
         * @param details Information about a Bill entry
         * 
         * @return builder
         * 
         */
        public Builder details(VrackOrderDetailArgs... details) {
            return details(List.of(details));
        }

        /**
         * @param expirationDate expiration date
         * 
         * @return builder
         * 
         */
        public Builder expirationDate(@Nullable Output expirationDate) {
            $.expirationDate = expirationDate;
            return this;
        }

        /**
         * @param expirationDate expiration date
         * 
         * @return builder
         * 
         */
        public Builder expirationDate(String expirationDate) {
            return expirationDate(Output.of(expirationDate));
        }

        /**
         * @param orderId order id
         * 
         * @return builder
         * 
         */
        public Builder orderId(@Nullable Output orderId) {
            $.orderId = orderId;
            return this;
        }

        /**
         * @param orderId order id
         * 
         * @return builder
         * 
         */
        public Builder orderId(Integer orderId) {
            return orderId(Output.of(orderId));
        }

        public VrackOrderArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy