com.pulumi.azurenative.monitor.inputs.OtlpReceiverArgs 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.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
/**
* OTLP Receiver.
*
*/
public final class OtlpReceiverArgs extends com.pulumi.resources.ResourceArgs {
public static final OtlpReceiverArgs Empty = new OtlpReceiverArgs();
/**
* OTLP GRPC endpoint definition. Example: 0.0.0.0:<port>.
*
*/
@Import(name="endpoint", required=true)
private Output endpoint;
/**
* @return OTLP GRPC endpoint definition. Example: 0.0.0.0:<port>.
*
*/
public Output endpoint() {
return this.endpoint;
}
private OtlpReceiverArgs() {}
private OtlpReceiverArgs(OtlpReceiverArgs $) {
this.endpoint = $.endpoint;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(OtlpReceiverArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private OtlpReceiverArgs $;
public Builder() {
$ = new OtlpReceiverArgs();
}
public Builder(OtlpReceiverArgs defaults) {
$ = new OtlpReceiverArgs(Objects.requireNonNull(defaults));
}
/**
* @param endpoint OTLP GRPC endpoint definition. Example: 0.0.0.0:<port>.
*
* @return builder
*
*/
public Builder endpoint(Output endpoint) {
$.endpoint = endpoint;
return this;
}
/**
* @param endpoint OTLP GRPC endpoint definition. Example: 0.0.0.0:<port>.
*
* @return builder
*
*/
public Builder endpoint(String endpoint) {
return endpoint(Output.of(endpoint));
}
public OtlpReceiverArgs build() {
if ($.endpoint == null) {
throw new MissingRequiredPropertyException("OtlpReceiverArgs", "endpoint");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy