Class ProfileParams.Builder
- java.lang.Object
-
- com.cheetahdigital.profile.core.api.ProfileParams.Builder
-
- Enclosing class:
- ProfileParams
public static class ProfileParams.Builder extends java.lang.Object
Builder class forProfileParams
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor for theProfileParams.Builder
Builder(ProfileParams parameter)
Constructor for theProfileParams.Builder
with initial value from aProfileParams
instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ProfileParams
createQueryParams()
Instantiates the implementation classProfileParams.Builder
setIncludeSegments(java.lang.Boolean shouldInclude)
Sets the value of the boolean parameter fieldinclude_segments
ProfileParams.Builder
setReferralCode(java.lang.String referralCode)
Set the value of the query parameterreferral_code
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor for theProfileParams.Builder
-
Builder
public Builder(ProfileParams parameter)
Constructor for theProfileParams.Builder
with initial value from aProfileParams
instance- Parameters:
parameter
- instance ofProfileParams
-
-
Method Detail
-
createQueryParams
protected ProfileParams createQueryParams()
Instantiates the implementation class- Returns:
- implementation class of
BaseParams.BaseBuilder
-
setIncludeSegments
public ProfileParams.Builder setIncludeSegments(@Nullable java.lang.Boolean shouldInclude)
Sets the value of the boolean parameter fieldinclude_segments
- Parameters:
shouldInclude
- boolean value; true to indicate parameter to include segments otherwise false- Returns:
- instance of the Builder that called this method
-
setReferralCode
public ProfileParams.Builder setReferralCode(@Nullable java.lang.String referralCode)
Set the value of the query parameterreferral_code
- Parameters:
referralCode
- value to set forreferral_code
- Returns:
- The Builder object to allow for chaining calls to set/add methods
-
-