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

com.pulumi.docker.inputs.ContainerMountTmpfsOptionsArgs Maven / Gradle / Ivy

There is a newer version: 4.7.0-alpha.1705607229+34a07055
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.docker.inputs;

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


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

    public static final ContainerMountTmpfsOptionsArgs Empty = new ContainerMountTmpfsOptionsArgs();

    /**
     * The permission mode for the tmpfs mount in an integer.
     * 
     */
    @Import(name="mode")
    private @Nullable Output mode;

    /**
     * @return The permission mode for the tmpfs mount in an integer.
     * 
     */
    public Optional> mode() {
        return Optional.ofNullable(this.mode);
    }

    /**
     * The size for the tmpfs mount in bytes.
     * 
     */
    @Import(name="sizeBytes")
    private @Nullable Output sizeBytes;

    /**
     * @return The size for the tmpfs mount in bytes.
     * 
     */
    public Optional> sizeBytes() {
        return Optional.ofNullable(this.sizeBytes);
    }

    private ContainerMountTmpfsOptionsArgs() {}

    private ContainerMountTmpfsOptionsArgs(ContainerMountTmpfsOptionsArgs $) {
        this.mode = $.mode;
        this.sizeBytes = $.sizeBytes;
    }

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

    public static final class Builder {
        private ContainerMountTmpfsOptionsArgs $;

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

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

        /**
         * @param mode The permission mode for the tmpfs mount in an integer.
         * 
         * @return builder
         * 
         */
        public Builder mode(@Nullable Output mode) {
            $.mode = mode;
            return this;
        }

        /**
         * @param mode The permission mode for the tmpfs mount in an integer.
         * 
         * @return builder
         * 
         */
        public Builder mode(Integer mode) {
            return mode(Output.of(mode));
        }

        /**
         * @param sizeBytes The size for the tmpfs mount in bytes.
         * 
         * @return builder
         * 
         */
        public Builder sizeBytes(@Nullable Output sizeBytes) {
            $.sizeBytes = sizeBytes;
            return this;
        }

        /**
         * @param sizeBytes The size for the tmpfs mount in bytes.
         * 
         * @return builder
         * 
         */
        public Builder sizeBytes(Integer sizeBytes) {
            return sizeBytes(Output.of(sizeBytes));
        }

        public ContainerMountTmpfsOptionsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy