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

com.pulumi.azurenative.securityinsights.outputs.SecurityMLAnalyticsSettingsDataSourceResponse Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.securityinsights.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class SecurityMLAnalyticsSettingsDataSourceResponse {
    /**
     * @return The connector id that provides the following data types
     * 
     */
    private @Nullable String connectorId;
    /**
     * @return The data types used by the security ml analytics settings
     * 
     */
    private @Nullable List dataTypes;

    private SecurityMLAnalyticsSettingsDataSourceResponse() {}
    /**
     * @return The connector id that provides the following data types
     * 
     */
    public Optional connectorId() {
        return Optional.ofNullable(this.connectorId);
    }
    /**
     * @return The data types used by the security ml analytics settings
     * 
     */
    public List dataTypes() {
        return this.dataTypes == null ? List.of() : this.dataTypes;
    }

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

    public static Builder builder(SecurityMLAnalyticsSettingsDataSourceResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String connectorId;
        private @Nullable List dataTypes;
        public Builder() {}
        public Builder(SecurityMLAnalyticsSettingsDataSourceResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.connectorId = defaults.connectorId;
    	      this.dataTypes = defaults.dataTypes;
        }

        @CustomType.Setter
        public Builder connectorId(@Nullable String connectorId) {

            this.connectorId = connectorId;
            return this;
        }
        @CustomType.Setter
        public Builder dataTypes(@Nullable List dataTypes) {

            this.dataTypes = dataTypes;
            return this;
        }
        public Builder dataTypes(String... dataTypes) {
            return dataTypes(List.of(dataTypes));
        }
        public SecurityMLAnalyticsSettingsDataSourceResponse build() {
            final var _resultValue = new SecurityMLAnalyticsSettingsDataSourceResponse();
            _resultValue.connectorId = connectorId;
            _resultValue.dataTypes = dataTypes;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy