com.pulumi.ns1.outputs.PulsarJobBlendMetricWeights Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ns1 Show documentation
Show all versions of ns1 Show documentation
A Pulumi package for creating and managing ns1 cloud resources.
// *** 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