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

com.pulumi.azurenative.storagecache.outputs.BlobNfsTargetResponse 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.outputs;

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

@CustomType
public final class BlobNfsTargetResponse {
    /**
     * @return Resource ID of the storage container.
     * 
     */
    private @Nullable String target;
    /**
     * @return Identifies the StorageCache usage model to be used for this storage target.
     * 
     */
    private @Nullable String usageModel;
    /**
     * @return Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
     * 
     */
    private @Nullable Integer verificationTimer;
    /**
     * @return Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.
     * 
     */
    private @Nullable Integer writeBackTimer;

    private BlobNfsTargetResponse() {}
    /**
     * @return Resource ID of the storage container.
     * 
     */
    public Optional target() {
        return Optional.ofNullable(this.target);
    }
    /**
     * @return Identifies the StorageCache usage model to be used for this storage target.
     * 
     */
    public Optional usageModel() {
        return Optional.ofNullable(this.usageModel);
    }
    /**
     * @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);
    }
    /**
     * @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);
    }

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

    public static Builder builder(BlobNfsTargetResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String target;
        private @Nullable String usageModel;
        private @Nullable Integer verificationTimer;
        private @Nullable Integer writeBackTimer;
        public Builder() {}
        public Builder(BlobNfsTargetResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.target = defaults.target;
    	      this.usageModel = defaults.usageModel;
    	      this.verificationTimer = defaults.verificationTimer;
    	      this.writeBackTimer = defaults.writeBackTimer;
        }

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

            this.target = target;
            return this;
        }
        @CustomType.Setter
        public Builder usageModel(@Nullable String usageModel) {

            this.usageModel = usageModel;
            return this;
        }
        @CustomType.Setter
        public Builder verificationTimer(@Nullable Integer verificationTimer) {

            this.verificationTimer = verificationTimer;
            return this;
        }
        @CustomType.Setter
        public Builder writeBackTimer(@Nullable Integer writeBackTimer) {

            this.writeBackTimer = writeBackTimer;
            return this;
        }
        public BlobNfsTargetResponse build() {
            final var _resultValue = new BlobNfsTargetResponse();
            _resultValue.target = target;
            _resultValue.usageModel = usageModel;
            _resultValue.verificationTimer = verificationTimer;
            _resultValue.writeBackTimer = writeBackTimer;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy