com.mparticle.sdk.model.registration.AudienceProcessingRegistration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
mParticle Java SDK used to integrate with mParticle's Firehose API
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;
}
}