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

com.pulumi.azurenative.monitor.outputs.OtlpReceiverResponse Maven / Gradle / Ivy

There is a newer version: 2.78.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.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