Package com.moesif.api.models
Class CampaignBuilder
java.lang.Object
com.moesif.api.models.CampaignBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the instance with the given valuesthe gclidthe referrerreferringDomain(String referringDomain) the referring modelutmCampaign(String utmCampaign) the utm campaignutmContent(String utmContent) the utm contentthe utm mediumthe utm sourcethe utm term
-
Constructor Details
-
CampaignBuilder
public CampaignBuilder()Default constructor to initialize the instance
-
-
Method Details
-
utmSource
the utm source- Parameters:
utmSource- the field to set- Returns:
- itself
-
utmMedium
the utm medium- Parameters:
utmMedium- the field to set- Returns:
- itself
-
utmCampaign
the utm campaign- Parameters:
utmCampaign- the field to set- Returns:
- itself
-
utmTerm
the utm term- Parameters:
utmTerm- the field to set- Returns:
- itself
-
utmContent
the utm content- Parameters:
utmContent- the field to set- Returns:
- itself
-
referrer
the referrer- Parameters:
referrer- the field to set- Returns:
- itself
-
referringDomain
the referring model- Parameters:
referringDomain- the field to set- Returns:
- itself
-
gclid
the gclid- Parameters:
gclid- the field to set- Returns:
- itself
-
build
Build the instance with the given values- Returns:
- The built CampaignModel
-