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

com.pulumi.aws.batch.inputs.JobDefinitionEksPropertiesPodPropertiesInitContainerResourcesArgs 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.aws.batch.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;


public final class JobDefinitionEksPropertiesPodPropertiesInitContainerResourcesArgs extends com.pulumi.resources.ResourceArgs {

    public static final JobDefinitionEksPropertiesPodPropertiesInitContainerResourcesArgs Empty = new JobDefinitionEksPropertiesPodPropertiesInitContainerResourcesArgs();

    @Import(name="limits")
    private @Nullable Output> limits;

    public Optional>> limits() {
        return Optional.ofNullable(this.limits);
    }

    @Import(name="requests")
    private @Nullable Output> requests;

    public Optional>> requests() {
        return Optional.ofNullable(this.requests);
    }

    private JobDefinitionEksPropertiesPodPropertiesInitContainerResourcesArgs() {}

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

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

    public static final class Builder {
        private JobDefinitionEksPropertiesPodPropertiesInitContainerResourcesArgs $;

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

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

        public Builder limits(@Nullable Output> limits) {
            $.limits = limits;
            return this;
        }

        public Builder limits(Map limits) {
            return limits(Output.of(limits));
        }

        public Builder requests(@Nullable Output> requests) {
            $.requests = requests;
            return this;
        }

        public Builder requests(Map requests) {
            return requests(Output.of(requests));
        }

        public JobDefinitionEksPropertiesPodPropertiesInitContainerResourcesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy