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

com.pulumi.azurenative.awsconnector.outputs.TmpfsResponse 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.awsconnector.outputs;

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

@CustomType
public final class TmpfsResponse {
    /**
     * @return The absolute file path where the tmpfs volume is to be mounted.
     * 
     */
    private @Nullable String containerPath;
    /**
     * @return The list of tmpfs volume mount options.
     * 
     */
    private @Nullable List mountOptions;
    /**
     * @return The maximum size (in MiB) of the tmpfs volume.
     * 
     */
    private @Nullable Integer size;

    private TmpfsResponse() {}
    /**
     * @return The absolute file path where the tmpfs volume is to be mounted.
     * 
     */
    public Optional containerPath() {
        return Optional.ofNullable(this.containerPath);
    }
    /**
     * @return The list of tmpfs volume mount options.
     * 
     */
    public List mountOptions() {
        return this.mountOptions == null ? List.of() : this.mountOptions;
    }
    /**
     * @return The maximum size (in MiB) of the tmpfs volume.
     * 
     */
    public Optional size() {
        return Optional.ofNullable(this.size);
    }

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

    public static Builder builder(TmpfsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String containerPath;
        private @Nullable List mountOptions;
        private @Nullable Integer size;
        public Builder() {}
        public Builder(TmpfsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.containerPath = defaults.containerPath;
    	      this.mountOptions = defaults.mountOptions;
    	      this.size = defaults.size;
        }

        @CustomType.Setter
        public Builder containerPath(@Nullable String containerPath) {

            this.containerPath = containerPath;
            return this;
        }
        @CustomType.Setter
        public Builder mountOptions(@Nullable List mountOptions) {

            this.mountOptions = mountOptions;
            return this;
        }
        public Builder mountOptions(String... mountOptions) {
            return mountOptions(List.of(mountOptions));
        }
        @CustomType.Setter
        public Builder size(@Nullable Integer size) {

            this.size = size;
            return this;
        }
        public TmpfsResponse build() {
            final var _resultValue = new TmpfsResponse();
            _resultValue.containerPath = containerPath;
            _resultValue.mountOptions = mountOptions;
            _resultValue.size = size;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy