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

com.pulumi.azurenative.storagecache.inputs.Nfs3TargetArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.storagecache.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;


/**
 * Properties pertaining to the Nfs3Target
 * 
 */
public final class Nfs3TargetArgs extends com.pulumi.resources.ResourceArgs {

    public static final Nfs3TargetArgs Empty = new Nfs3TargetArgs();

    /**
     * IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
     * 
     */
    @Import(name="target")
    private @Nullable Output target;

    /**
     * @return IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
     * 
     */
    public Optional> target() {
        return Optional.ofNullable(this.target);
    }

    /**
     * Identifies the StorageCache usage model to be used for this storage target.
     * 
     */
    @Import(name="usageModel")
    private @Nullable Output usageModel;

    /**
     * @return Identifies the StorageCache usage model to be used for this storage target.
     * 
     */
    public Optional> usageModel() {
        return Optional.ofNullable(this.usageModel);
    }

    /**
     * Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
     * 
     */
    @Import(name="verificationTimer")
    private @Nullable Output verificationTimer;

    /**
     * @return Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
     * 
     */
    public Optional> verificationTimer() {
        return Optional.ofNullable(this.verificationTimer);
    }

    /**
     * Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.
     * 
     */
    @Import(name="writeBackTimer")
    private @Nullable Output writeBackTimer;

    /**
     * @return Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.
     * 
     */
    public Optional> writeBackTimer() {
        return Optional.ofNullable(this.writeBackTimer);
    }

    private Nfs3TargetArgs() {}

    private Nfs3TargetArgs(Nfs3TargetArgs $) {
        this.target = $.target;
        this.usageModel = $.usageModel;
        this.verificationTimer = $.verificationTimer;
        this.writeBackTimer = $.writeBackTimer;
    }

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

    public static final class Builder {
        private Nfs3TargetArgs $;

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

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

        /**
         * @param target IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
         * 
         * @return builder
         * 
         */
        public Builder target(@Nullable Output target) {
            $.target = target;
            return this;
        }

        /**
         * @param target IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
         * 
         * @return builder
         * 
         */
        public Builder target(String target) {
            return target(Output.of(target));
        }

        /**
         * @param usageModel Identifies the StorageCache usage model to be used for this storage target.
         * 
         * @return builder
         * 
         */
        public Builder usageModel(@Nullable Output usageModel) {
            $.usageModel = usageModel;
            return this;
        }

        /**
         * @param usageModel Identifies the StorageCache usage model to be used for this storage target.
         * 
         * @return builder
         * 
         */
        public Builder usageModel(String usageModel) {
            return usageModel(Output.of(usageModel));
        }

        /**
         * @param verificationTimer Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
         * 
         * @return builder
         * 
         */
        public Builder verificationTimer(@Nullable Output verificationTimer) {
            $.verificationTimer = verificationTimer;
            return this;
        }

        /**
         * @param verificationTimer Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
         * 
         * @return builder
         * 
         */
        public Builder verificationTimer(Integer verificationTimer) {
            return verificationTimer(Output.of(verificationTimer));
        }

        /**
         * @param writeBackTimer Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.
         * 
         * @return builder
         * 
         */
        public Builder writeBackTimer(@Nullable Output writeBackTimer) {
            $.writeBackTimer = writeBackTimer;
            return this;
        }

        /**
         * @param writeBackTimer Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.
         * 
         * @return builder
         * 
         */
        public Builder writeBackTimer(Integer writeBackTimer) {
            return writeBackTimer(Output.of(writeBackTimer));
        }

        public Nfs3TargetArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy