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