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

com.pulumi.azurenative.iotoperations.outputs.SelfCheckResponse 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.iotoperations.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 SelfCheckResponse {
    /**
     * @return The self check interval.
     * 
     */
    private @Nullable Integer intervalSeconds;
    /**
     * @return The toggle to enable/disable self check.
     * 
     */
    private @Nullable String mode;
    /**
     * @return The timeout for self check.
     * 
     */
    private @Nullable Integer timeoutSeconds;

    private SelfCheckResponse() {}
    /**
     * @return The self check interval.
     * 
     */
    public Optional intervalSeconds() {
        return Optional.ofNullable(this.intervalSeconds);
    }
    /**
     * @return The toggle to enable/disable self check.
     * 
     */
    public Optional mode() {
        return Optional.ofNullable(this.mode);
    }
    /**
     * @return The timeout for self check.
     * 
     */
    public Optional timeoutSeconds() {
        return Optional.ofNullable(this.timeoutSeconds);
    }

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

    public static Builder builder(SelfCheckResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Integer intervalSeconds;
        private @Nullable String mode;
        private @Nullable Integer timeoutSeconds;
        public Builder() {}
        public Builder(SelfCheckResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.intervalSeconds = defaults.intervalSeconds;
    	      this.mode = defaults.mode;
    	      this.timeoutSeconds = defaults.timeoutSeconds;
        }

        @CustomType.Setter
        public Builder intervalSeconds(@Nullable Integer intervalSeconds) {

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

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

            this.timeoutSeconds = timeoutSeconds;
            return this;
        }
        public SelfCheckResponse build() {
            final var _resultValue = new SelfCheckResponse();
            _resultValue.intervalSeconds = intervalSeconds;
            _resultValue.mode = mode;
            _resultValue.timeoutSeconds = timeoutSeconds;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy