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

com.pulumi.azurenative.datamigration.outputs.WaitStatisticsResponse Maven / Gradle / Ivy

// *** 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.datamigration.outputs;

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

@CustomType
public final class WaitStatisticsResponse {
    /**
     * @return Total no. of waits
     * 
     */
    private @Nullable Double waitCount;
    /**
     * @return Total wait time in millisecond(s)
     * 
     */
    private @Nullable Double waitTimeMs;
    /**
     * @return Type of the Wait
     * 
     */
    private @Nullable String waitType;

    private WaitStatisticsResponse() {}
    /**
     * @return Total no. of waits
     * 
     */
    public Optional waitCount() {
        return Optional.ofNullable(this.waitCount);
    }
    /**
     * @return Total wait time in millisecond(s)
     * 
     */
    public Optional waitTimeMs() {
        return Optional.ofNullable(this.waitTimeMs);
    }
    /**
     * @return Type of the Wait
     * 
     */
    public Optional waitType() {
        return Optional.ofNullable(this.waitType);
    }

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

    public static Builder builder(WaitStatisticsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Double waitCount;
        private @Nullable Double waitTimeMs;
        private @Nullable String waitType;
        public Builder() {}
        public Builder(WaitStatisticsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.waitCount = defaults.waitCount;
    	      this.waitTimeMs = defaults.waitTimeMs;
    	      this.waitType = defaults.waitType;
        }

        @CustomType.Setter
        public Builder waitCount(@Nullable Double waitCount) {

            this.waitCount = waitCount;
            return this;
        }
        @CustomType.Setter
        public Builder waitTimeMs(@Nullable Double waitTimeMs) {

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

            this.waitType = waitType;
            return this;
        }
        public WaitStatisticsResponse build() {
            final var _resultValue = new WaitStatisticsResponse();
            _resultValue.waitCount = waitCount;
            _resultValue.waitTimeMs = waitTimeMs;
            _resultValue.waitType = waitType;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy