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

com.pulumi.ns1.outputs.PulsarJobBlendMetricWeights Maven / Gradle / Ivy

There is a newer version: 3.5.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.ns1.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;

@CustomType
public final class PulsarJobBlendMetricWeights {
    private Integer timestamp;

    private PulsarJobBlendMetricWeights() {}
    public Integer timestamp() {
        return this.timestamp;
    }

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

    public static Builder builder(PulsarJobBlendMetricWeights defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Integer timestamp;
        public Builder() {}
        public Builder(PulsarJobBlendMetricWeights defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.timestamp = defaults.timestamp;
        }

        @CustomType.Setter
        public Builder timestamp(Integer timestamp) {
            if (timestamp == null) {
              throw new MissingRequiredPropertyException("PulsarJobBlendMetricWeights", "timestamp");
            }
            this.timestamp = timestamp;
            return this;
        }
        public PulsarJobBlendMetricWeights build() {
            final var _resultValue = new PulsarJobBlendMetricWeights();
            _resultValue.timestamp = timestamp;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy