com.pulumi.azurenative.monitor.outputs.OtlpReceiverResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.monitor.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class OtlpReceiverResponse {
/**
* @return OTLP GRPC endpoint definition. Example: 0.0.0.0:<port>.
*
*/
private String endpoint;
private OtlpReceiverResponse() {}
/**
* @return OTLP GRPC endpoint definition. Example: 0.0.0.0:<port>.
*
*/
public String endpoint() {
return this.endpoint;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(OtlpReceiverResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String endpoint;
public Builder() {}
public Builder(OtlpReceiverResponse defaults) {
Objects.requireNonNull(defaults);
this.endpoint = defaults.endpoint;
}
@CustomType.Setter
public Builder endpoint(String endpoint) {
if (endpoint == null) {
throw new MissingRequiredPropertyException("OtlpReceiverResponse", "endpoint");
}
this.endpoint = endpoint;
return this;
}
public OtlpReceiverResponse build() {
final var _resultValue = new OtlpReceiverResponse();
_resultValue.endpoint = endpoint;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy