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

com.pulumi.azurenative.appplatform.outputs.ApiPortalResourceRequestsResponse 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.azurenative.appplatform.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class ApiPortalResourceRequestsResponse {
    /**
     * @return Cpu allocated to each API portal instance
     * 
     */
    private String cpu;
    /**
     * @return Memory allocated to each API portal instance
     * 
     */
    private String memory;

    private ApiPortalResourceRequestsResponse() {}
    /**
     * @return Cpu allocated to each API portal instance
     * 
     */
    public String cpu() {
        return this.cpu;
    }
    /**
     * @return Memory allocated to each API portal instance
     * 
     */
    public String memory() {
        return this.memory;
    }

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

    public static Builder builder(ApiPortalResourceRequestsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String cpu;
        private String memory;
        public Builder() {}
        public Builder(ApiPortalResourceRequestsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.cpu = defaults.cpu;
    	      this.memory = defaults.memory;
        }

        @CustomType.Setter
        public Builder cpu(String cpu) {
            if (cpu == null) {
              throw new MissingRequiredPropertyException("ApiPortalResourceRequestsResponse", "cpu");
            }
            this.cpu = cpu;
            return this;
        }
        @CustomType.Setter
        public Builder memory(String memory) {
            if (memory == null) {
              throw new MissingRequiredPropertyException("ApiPortalResourceRequestsResponse", "memory");
            }
            this.memory = memory;
            return this;
        }
        public ApiPortalResourceRequestsResponse build() {
            final var _resultValue = new ApiPortalResourceRequestsResponse();
            _resultValue.cpu = cpu;
            _resultValue.memory = memory;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy