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

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

// *** 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.azurenative.monitor.outputs.SchemaMapResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class AzureMonitorWorkspaceLogsApiConfigResponse {
    /**
     * @return Data collection endpoint ingestion url.
     * 
     */
    private String dataCollectionEndpointUrl;
    /**
     * @return Data Collection Rule (DCR) immutable id.
     * 
     */
    private String dataCollectionRule;
    /**
     * @return The schema mapping for incoming data.
     * 
     */
    private SchemaMapResponse schema;
    /**
     * @return Stream name in destination. Azure Monitor stream is related to the destination table.
     * 
     */
    private String stream;

    private AzureMonitorWorkspaceLogsApiConfigResponse() {}
    /**
     * @return Data collection endpoint ingestion url.
     * 
     */
    public String dataCollectionEndpointUrl() {
        return this.dataCollectionEndpointUrl;
    }
    /**
     * @return Data Collection Rule (DCR) immutable id.
     * 
     */
    public String dataCollectionRule() {
        return this.dataCollectionRule;
    }
    /**
     * @return The schema mapping for incoming data.
     * 
     */
    public SchemaMapResponse schema() {
        return this.schema;
    }
    /**
     * @return Stream name in destination. Azure Monitor stream is related to the destination table.
     * 
     */
    public String stream() {
        return this.stream;
    }

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

    public static Builder builder(AzureMonitorWorkspaceLogsApiConfigResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String dataCollectionEndpointUrl;
        private String dataCollectionRule;
        private SchemaMapResponse schema;
        private String stream;
        public Builder() {}
        public Builder(AzureMonitorWorkspaceLogsApiConfigResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dataCollectionEndpointUrl = defaults.dataCollectionEndpointUrl;
    	      this.dataCollectionRule = defaults.dataCollectionRule;
    	      this.schema = defaults.schema;
    	      this.stream = defaults.stream;
        }

        @CustomType.Setter
        public Builder dataCollectionEndpointUrl(String dataCollectionEndpointUrl) {
            if (dataCollectionEndpointUrl == null) {
              throw new MissingRequiredPropertyException("AzureMonitorWorkspaceLogsApiConfigResponse", "dataCollectionEndpointUrl");
            }
            this.dataCollectionEndpointUrl = dataCollectionEndpointUrl;
            return this;
        }
        @CustomType.Setter
        public Builder dataCollectionRule(String dataCollectionRule) {
            if (dataCollectionRule == null) {
              throw new MissingRequiredPropertyException("AzureMonitorWorkspaceLogsApiConfigResponse", "dataCollectionRule");
            }
            this.dataCollectionRule = dataCollectionRule;
            return this;
        }
        @CustomType.Setter
        public Builder schema(SchemaMapResponse schema) {
            if (schema == null) {
              throw new MissingRequiredPropertyException("AzureMonitorWorkspaceLogsApiConfigResponse", "schema");
            }
            this.schema = schema;
            return this;
        }
        @CustomType.Setter
        public Builder stream(String stream) {
            if (stream == null) {
              throw new MissingRequiredPropertyException("AzureMonitorWorkspaceLogsApiConfigResponse", "stream");
            }
            this.stream = stream;
            return this;
        }
        public AzureMonitorWorkspaceLogsApiConfigResponse build() {
            final var _resultValue = new AzureMonitorWorkspaceLogsApiConfigResponse();
            _resultValue.dataCollectionEndpointUrl = dataCollectionEndpointUrl;
            _resultValue.dataCollectionRule = dataCollectionRule;
            _resultValue.schema = schema;
            _resultValue.stream = stream;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy