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

com.pulumi.azurenative.awsconnector.inputs.UlimitArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.awsconnector.inputs;

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


/**
 * Definition of Ulimit
 * 
 */
public final class UlimitArgs extends com.pulumi.resources.ResourceArgs {

    public static final UlimitArgs Empty = new UlimitArgs();

    /**
     * The hard limit for the ``ulimit`` type.
     * 
     */
    @Import(name="hardLimit")
    private @Nullable Output hardLimit;

    /**
     * @return The hard limit for the ``ulimit`` type.
     * 
     */
    public Optional> hardLimit() {
        return Optional.ofNullable(this.hardLimit);
    }

    /**
     * The ``type`` of the ``ulimit``.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The ``type`` of the ``ulimit``.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The soft limit for the ``ulimit`` type.
     * 
     */
    @Import(name="softLimit")
    private @Nullable Output softLimit;

    /**
     * @return The soft limit for the ``ulimit`` type.
     * 
     */
    public Optional> softLimit() {
        return Optional.ofNullable(this.softLimit);
    }

    private UlimitArgs() {}

    private UlimitArgs(UlimitArgs $) {
        this.hardLimit = $.hardLimit;
        this.name = $.name;
        this.softLimit = $.softLimit;
    }

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

    public static final class Builder {
        private UlimitArgs $;

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

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

        /**
         * @param hardLimit The hard limit for the ``ulimit`` type.
         * 
         * @return builder
         * 
         */
        public Builder hardLimit(@Nullable Output hardLimit) {
            $.hardLimit = hardLimit;
            return this;
        }

        /**
         * @param hardLimit The hard limit for the ``ulimit`` type.
         * 
         * @return builder
         * 
         */
        public Builder hardLimit(Integer hardLimit) {
            return hardLimit(Output.of(hardLimit));
        }

        /**
         * @param name The ``type`` of the ``ulimit``.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The ``type`` of the ``ulimit``.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param softLimit The soft limit for the ``ulimit`` type.
         * 
         * @return builder
         * 
         */
        public Builder softLimit(@Nullable Output softLimit) {
            $.softLimit = softLimit;
            return this;
        }

        /**
         * @param softLimit The soft limit for the ``ulimit`` type.
         * 
         * @return builder
         * 
         */
        public Builder softLimit(Integer softLimit) {
            return softLimit(Output.of(softLimit));
        }

        public UlimitArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy