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

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

There is a newer version: 2.72.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 AzureMonitorWorkspaceResponseDefaultIngestionSettings {
    /**
     * @return The Azure resource Id of the default data collection endpoint for this Azure Monitor Workspace.
     * 
     */
    private String dataCollectionEndpointResourceId;
    /**
     * @return The Azure resource Id of the default data collection rule for this Azure Monitor Workspace.
     * 
     */
    private String dataCollectionRuleResourceId;

    private AzureMonitorWorkspaceResponseDefaultIngestionSettings() {}
    /**
     * @return The Azure resource Id of the default data collection endpoint for this Azure Monitor Workspace.
     * 
     */
    public String dataCollectionEndpointResourceId() {
        return this.dataCollectionEndpointResourceId;
    }
    /**
     * @return The Azure resource Id of the default data collection rule for this Azure Monitor Workspace.
     * 
     */
    public String dataCollectionRuleResourceId() {
        return this.dataCollectionRuleResourceId;
    }

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

    public static Builder builder(AzureMonitorWorkspaceResponseDefaultIngestionSettings defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String dataCollectionEndpointResourceId;
        private String dataCollectionRuleResourceId;
        public Builder() {}
        public Builder(AzureMonitorWorkspaceResponseDefaultIngestionSettings defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dataCollectionEndpointResourceId = defaults.dataCollectionEndpointResourceId;
    	      this.dataCollectionRuleResourceId = defaults.dataCollectionRuleResourceId;
        }

        @CustomType.Setter
        public Builder dataCollectionEndpointResourceId(String dataCollectionEndpointResourceId) {
            if (dataCollectionEndpointResourceId == null) {
              throw new MissingRequiredPropertyException("AzureMonitorWorkspaceResponseDefaultIngestionSettings", "dataCollectionEndpointResourceId");
            }
            this.dataCollectionEndpointResourceId = dataCollectionEndpointResourceId;
            return this;
        }
        @CustomType.Setter
        public Builder dataCollectionRuleResourceId(String dataCollectionRuleResourceId) {
            if (dataCollectionRuleResourceId == null) {
              throw new MissingRequiredPropertyException("AzureMonitorWorkspaceResponseDefaultIngestionSettings", "dataCollectionRuleResourceId");
            }
            this.dataCollectionRuleResourceId = dataCollectionRuleResourceId;
            return this;
        }
        public AzureMonitorWorkspaceResponseDefaultIngestionSettings build() {
            final var _resultValue = new AzureMonitorWorkspaceResponseDefaultIngestionSettings();
            _resultValue.dataCollectionEndpointResourceId = dataCollectionEndpointResourceId;
            _resultValue.dataCollectionRuleResourceId = dataCollectionRuleResourceId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy