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

com.ovhcloud.pulumi.ovh.Hosting.inputs.PrivateDatabaseOrderArgs 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.Hosting.inputs;

import com.ovhcloud.pulumi.ovh.Hosting.inputs.PrivateDatabaseOrderDetailArgs;
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 PrivateDatabaseOrderArgs extends com.pulumi.resources.ResourceArgs {

    public static final PrivateDatabaseOrderArgs Empty = new PrivateDatabaseOrderArgs();

    /**
     * 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 PrivateDatabaseOrderArgs() {}

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

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

    public static final class Builder {
        private PrivateDatabaseOrderArgs $;

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

        public Builder(PrivateDatabaseOrderArgs defaults) {
            $ = new PrivateDatabaseOrderArgs(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(PrivateDatabaseOrderDetailArgs... 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 PrivateDatabaseOrderArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy