Package com.mparticle.consent
Class CCPAConsent.Builder
- java.lang.Object
-
- com.mparticle.consent.CCPAConsent.Builder
-
- Enclosing class:
- CCPAConsent
public static class CCPAConsent.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CCPAConsent
build()
CCPAConsent.Builder
consented(boolean consented)
CCPAConsent.Builder
document(java.lang.String document)
CCPAConsent.Builder
hardwareId(java.lang.String hardwareId)
CCPAConsent.Builder
location(java.lang.String location)
CCPAConsent.Builder
timestamp(java.lang.Long timestamp)
java.lang.String
toString()
-
-
-
Method Detail
-
hardwareId
@NonNull public CCPAConsent.Builder hardwareId(@Nullable java.lang.String hardwareId)
-
location
@NonNull public CCPAConsent.Builder location(@Nullable java.lang.String location)
-
timestamp
@NonNull public CCPAConsent.Builder timestamp(@Nullable java.lang.Long timestamp)
-
document
@NonNull public CCPAConsent.Builder document(@Nullable java.lang.String document)
-
consented
@NonNull public CCPAConsent.Builder consented(boolean consented)
-
build
@NonNull public CCPAConsent build()
-
toString
@NonNull public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-