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

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

    private SelfTracingResponse() {}
    /**
     * @return The self tracing interval.
     * 
     */
    public Optional intervalSeconds() {
        return Optional.ofNullable(this.intervalSeconds);
    }
    /**
     * @return The toggle to enable/disable self tracing.
     * 
     */
    public Optional mode() {
        return Optional.ofNullable(this.mode);
    }

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

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

        @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;
        }
        public SelfTracingResponse build() {
            final var _resultValue = new SelfTracingResponse();
            _resultValue.intervalSeconds = intervalSeconds;
            _resultValue.mode = mode;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy