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

com.pulumi.googlenative.composer.v1.outputs.WebServerResourceResponse Maven / Gradle / Ivy

// *** 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.googlenative.composer.v1.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Double;
import java.util.Objects;

@CustomType
public final class WebServerResourceResponse {
    /**
     * @return Optional. CPU request and limit for Airflow web server.
     * 
     */
    private Double cpu;
    /**
     * @return Optional. Memory (GB) request and limit for Airflow web server.
     * 
     */
    private Double memoryGb;
    /**
     * @return Optional. Storage (GB) request and limit for Airflow web server.
     * 
     */
    private Double storageGb;

    private WebServerResourceResponse() {}
    /**
     * @return Optional. CPU request and limit for Airflow web server.
     * 
     */
    public Double cpu() {
        return this.cpu;
    }
    /**
     * @return Optional. Memory (GB) request and limit for Airflow web server.
     * 
     */
    public Double memoryGb() {
        return this.memoryGb;
    }
    /**
     * @return Optional. Storage (GB) request and limit for Airflow web server.
     * 
     */
    public Double storageGb() {
        return this.storageGb;
    }

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

    public static Builder builder(WebServerResourceResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Double cpu;
        private Double memoryGb;
        private Double storageGb;
        public Builder() {}
        public Builder(WebServerResourceResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.cpu = defaults.cpu;
    	      this.memoryGb = defaults.memoryGb;
    	      this.storageGb = defaults.storageGb;
        }

        @CustomType.Setter
        public Builder cpu(Double cpu) {
            this.cpu = Objects.requireNonNull(cpu);
            return this;
        }
        @CustomType.Setter
        public Builder memoryGb(Double memoryGb) {
            this.memoryGb = Objects.requireNonNull(memoryGb);
            return this;
        }
        @CustomType.Setter
        public Builder storageGb(Double storageGb) {
            this.storageGb = Objects.requireNonNull(storageGb);
            return this;
        }
        public WebServerResourceResponse build() {
            final var o = new WebServerResourceResponse();
            o.cpu = cpu;
            o.memoryGb = memoryGb;
            o.storageGb = storageGb;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy