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 GDPRConsentbuild()GDPRConsent.Builderconsented(boolean consented)GDPRConsent.Builderdocument(java.lang.String document)GDPRConsent.BuilderhardwareId(java.lang.String hardwareId)GDPRConsent.Builderlocation(java.lang.String location)GDPRConsent.Buildertimestamp(java.lang.Long timestamp)java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-