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

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

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

import com.fasterxml.jackson.annotation.JsonProperty;
import com.mparticle.sdk.model.registration.authentication.AuthenticationConfiguration;

import java.util.List;

/**
 * Audience data stream subscription settings.
 */
public final class AudienceProcessingRegistration {

    @JsonProperty("account_settings")
    private List accountSettings;

    @JsonProperty("authentication")
    private AuthenticationConfiguration authentication;

    @JsonProperty("bulk_configuration")
    private BulkConfiguration bulkConfiguration;

    @JsonProperty("audience_subscription_settings")
    private List audienceConnectionSettings;

    /**
     *
     * @return account subscription settings
     */
    public List getAccountSettings() {
        return accountSettings;
    }

    /**
     *
     * @param accountSettings account subscription settings
     * @return this
     */
    public AudienceProcessingRegistration setAccountSettings(List accountSettings) {
        this.accountSettings = accountSettings;
        return this;
    }

    /**
     *
     * @param audienceSubscriptionSettings audience connection settings
     * @return this
     * @deprecated use {@link #setAudienceConnectionSettings(List)}
     */
    public AudienceProcessingRegistration setAudienceSubscriptionSettings(List audienceSubscriptionSettings) {
        this.audienceConnectionSettings = audienceSubscriptionSettings;
        return this;
    }

    /**
     *
     * @param audienceConnectionSettings audience connection settings
     * @return this
     */
    public AudienceProcessingRegistration setAudienceConnectionSettings(List audienceConnectionSettings) {
        this.audienceConnectionSettings = audienceConnectionSettings;
        return this;
    }

    /**
     *
     * @return
     */
    public List getAudienceConnectionSettings() {
        return audienceConnectionSettings;
    }

    /**
     *
     * @return authentication
     */
    public AuthenticationConfiguration getAuthentication() { return authentication; }

    /**
     *
     * @param authentication audience authentication settings
     * @return this
     */
    public AudienceProcessingRegistration setAuthentication(AuthenticationConfiguration authentication) {
        this.authentication = authentication;
        return this;
    }

    /**
     *
     * @return bulkConfiguration
     */
    public BulkConfiguration getBulkConfiguration() { return bulkConfiguration; }

    /**
     *
     * @param bulkConfiguration audience bulkConfiguration settings
     * @return this
     */
    public AudienceProcessingRegistration setBulkConfiguration(BulkConfiguration bulkConfiguration) {
        this.bulkConfiguration = bulkConfiguration;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy