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

com.pulumi.azurenative.iotoperationsmq.inputs.VolumeClaimResourceRequirementsArgs 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.iotoperationsmq.inputs;

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


/**
 * VolumeClaimResourceRequirements properties
 * 
 */
public final class VolumeClaimResourceRequirementsArgs extends com.pulumi.resources.ResourceArgs {

    public static final VolumeClaimResourceRequirementsArgs Empty = new VolumeClaimResourceRequirementsArgs();

    /**
     * Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
     * 
     */
    @Import(name="limits")
    private @Nullable Output> limits;

    /**
     * @return Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
     * 
     */
    public Optional>> limits() {
        return Optional.ofNullable(this.limits);
    }

    /**
     * Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
     * 
     */
    @Import(name="requests")
    private @Nullable Output> requests;

    /**
     * @return Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
     * 
     */
    public Optional>> requests() {
        return Optional.ofNullable(this.requests);
    }

    private VolumeClaimResourceRequirementsArgs() {}

    private VolumeClaimResourceRequirementsArgs(VolumeClaimResourceRequirementsArgs $) {
        this.limits = $.limits;
        this.requests = $.requests;
    }

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

    public static final class Builder {
        private VolumeClaimResourceRequirementsArgs $;

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

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

        /**
         * @param limits Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
         * 
         * @return builder
         * 
         */
        public Builder limits(@Nullable Output> limits) {
            $.limits = limits;
            return this;
        }

        /**
         * @param limits Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
         * 
         * @return builder
         * 
         */
        public Builder limits(Map limits) {
            return limits(Output.of(limits));
        }

        /**
         * @param requests Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
         * 
         * @return builder
         * 
         */
        public Builder requests(@Nullable Output> requests) {
            $.requests = requests;
            return this;
        }

        /**
         * @param requests Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
         * 
         * @return builder
         * 
         */
        public Builder requests(Map requests) {
            return requests(Output.of(requests));
        }

        public VolumeClaimResourceRequirementsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy