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

com.mparticle.sdk.model.registration.EventProcessingRegistration Maven / Gradle / Ivy

There is a newer version: 1.9.0
Show newest version
package com.mparticle.sdk.model.registration;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.mparticle.sdk.model.eventprocessing.Event;
import com.mparticle.sdk.model.eventprocessing.RuntimeEnvironment;

import java.util.List;

/**
 * Event data stream subscription settings.
 */
public final class EventProcessingRegistration {

    @JsonProperty("account_settings")
    private List accountSettings;

    @JsonProperty("supported_event_types")
    private List supportedEventTypes;

    @JsonProperty("supported_runtime_environments")
    private List supportedRuntimeEnvironments;

    @JsonProperty("max_data_age_hours")
    private int maxDataAgeHours = 24;

    /**
     *
     * @return account settings required by the module
     */
    public List getAccountSettings() {
        return accountSettings;
    }

    /**
     *
     * @param accountSettings account settings required by the module
     * @return this
     */
    public EventProcessingRegistration setAccountSettings(List accountSettings) {
        this.accountSettings = accountSettings;
        return this;
    }

    /**
     *
     * @return requested event types
     */
    public List getSupportedEventTypes() {
        return supportedEventTypes;
    }

    /**
     *
     * @param supportedEventTypes requested event types
     * @return this
     */
    public EventProcessingRegistration setSupportedEventTypes(List supportedEventTypes) {
        this.supportedEventTypes = supportedEventTypes;
        return this;
    }

    /**
     *
     * @return acceptable age of the incoming events
     */
    public int getMaxDataAgeHours() {
        return maxDataAgeHours;
    }

    /**
     *
     * @param maxDataAgeHours acceptable age of the incoming events
     * @return this
     */
    public EventProcessingRegistration setMaxDataAgeHours(int maxDataAgeHours) {
        this.maxDataAgeHours = maxDataAgeHours;
        return this;
    }

    /**
     *
     * @return supported mobile platforms
     */
    public List getSupportedRuntimeEnvironments() {
        return supportedRuntimeEnvironments;
    }

    /**
     *
     * @param supportedRuntimeEnvironments supported mobile platforms
     * @return this
     */
    public EventProcessingRegistration setSupportedRuntimeEnvironments(List supportedRuntimeEnvironments) {
        this.supportedRuntimeEnvironments = supportedRuntimeEnvironments;
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy