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 SyncPagebuild()SyncPage.SyncPageBuildermetadata(SyncPageMetadata metadata)Metadata describing the page.SyncPage.SyncPageBuilderresources(java.util.List<SyncPageEntry> resources)Data in the page.SyncPage.SyncPageBuildersyncType(SyncType syncType)SyncType for the Syncpage.java.lang.StringtoString()
-
-
-
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
HttpMethodto indicate the type of HTTP request used for that operation.- Returns:
this.
-
build
public SyncPage build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-