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

com.pulumi.azurenative.appplatform.outputs.ConfigurationServiceResourceRequestsResponse Maven / Gradle / Ivy

There is a newer version: 2.72.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.pulumi.azurenative.appplatform.outputs;

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

@CustomType
public final class ConfigurationServiceResourceRequestsResponse {
    /**
     * @return Cpu allocated to each Application Configuration Service instance
     * 
     */
    private String cpu;
    /**
     * @return Instance count of the Application Configuration Service
     * 
     */
    private Integer instanceCount;
    /**
     * @return Memory allocated to each Application Configuration Service instance
     * 
     */
    private String memory;

    private ConfigurationServiceResourceRequestsResponse() {}
    /**
     * @return Cpu allocated to each Application Configuration Service instance
     * 
     */
    public String cpu() {
        return this.cpu;
    }
    /**
     * @return Instance count of the Application Configuration Service
     * 
     */
    public Integer instanceCount() {
        return this.instanceCount;
    }
    /**
     * @return Memory allocated to each Application Configuration Service instance
     * 
     */
    public String memory() {
        return this.memory;
    }

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy