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

com.ovhcloud.pulumi.ovh.Domain.inputs.ZoneOrderDetailArgs Maven / Gradle / Ivy

There is a newer version: 1.4.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.Domain.inputs;

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


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

    public static final ZoneOrderDetailArgs Empty = new ZoneOrderDetailArgs();

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

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

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

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

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

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

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

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

    private ZoneOrderDetailArgs() {}

    private ZoneOrderDetailArgs(ZoneOrderDetailArgs $) {
        this.description = $.description;
        this.domain = $.domain;
        this.orderDetailId = $.orderDetailId;
        this.quantity = $.quantity;
    }

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

    public static final class Builder {
        private ZoneOrderDetailArgs $;

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

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

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

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

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

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

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

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

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

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

        public ZoneOrderDetailArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy