Package no.fintlabs.adapter.models.sync
Class SyncPage.SyncPageBuilder
- java.lang.Object
-
- no.fintlabs.adapter.models.sync.SyncPage.SyncPageBuilder
-
- Enclosing class:
- SyncPage
public static class SyncPage.SyncPageBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SyncPage
build()
SyncPage.SyncPageBuilder
metadata(SyncPageMetadata metadata)
Metadata describing the page.SyncPage.SyncPageBuilder
resources(java.util.List<SyncPageEntry> resources)
Data in the page.SyncPage.SyncPageBuilder
syncType(SyncType syncType)
SyncType for the Syncpage.java.lang.String
toString()
-
-
-
Method Detail
-
metadata
public SyncPage.SyncPageBuilder metadata(SyncPageMetadata metadata)
Metadata describing the page.- Returns:
this
.
-
resources
public SyncPage.SyncPageBuilder resources(java.util.List<SyncPageEntry> resources)
Data in the page.- Returns:
this
.
-
syncType
public SyncPage.SyncPageBuilder syncType(SyncType syncType)
SyncType for the Syncpage.This enum represents the different types of synchronization operations that can be performed. Each type is associated with a specific
HttpMethod
to indicate the type of HTTP request used for that operation.- Returns:
this
.
-
build
public SyncPage build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-