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

com.ovhcloud.pulumi.ovh.Hosting.outputs.PrivateDatabaseOrderDetail 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.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 PrivateDatabaseOrderDetail {
    /**
     * @return Custom description on your privatedatabase order.
     * 
     */
    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 PrivateDatabaseOrderDetail() {}
    /**
     * @return Custom description on your privatedatabase order.
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return expiration date
     * 
     */
    public Optional domain() {
        return Optional.ofNullable(this.domain);
    }
    /**
     * @return order detail id
     * 
     */
    public Optional orderDetailId() {
        return Optional.ofNullable(this.orderDetailId);
    }
    /**
     * @return quantity
     * 
     */
    public Optional quantity() {
        return Optional.ofNullable(this.quantity);
    }

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

    public static Builder builder(PrivateDatabaseOrderDetail 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(PrivateDatabaseOrderDetail 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 PrivateDatabaseOrderDetail build() {
            final var _resultValue = new PrivateDatabaseOrderDetail();
            _resultValue.description = description;
            _resultValue.domain = domain;
            _resultValue.orderDetailId = orderDetailId;
            _resultValue.quantity = quantity;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy