Package cern.nxcals.api.ingestion.retry
Class BackupStrategy.DataPartition.DataPartitionBuilder<T>
- java.lang.Object
-
- cern.nxcals.api.ingestion.retry.BackupStrategy.DataPartition.DataPartitionBuilder<T>
-
- Enclosing class:
- BackupStrategy.DataPartition<T>
public static class BackupStrategy.DataPartition.DataPartitionBuilder<T> extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupStrategy.DataPartition<T>
build()
BackupStrategy.DataPartition.DataPartitionBuilder<T>
id(java.lang.String id)
BackupStrategy.DataPartition.DataPartitionBuilder<T>
messages(java.util.List<T> messages)
java.lang.String
toString()
-
-
-
Method Detail
-
id
public BackupStrategy.DataPartition.DataPartitionBuilder<T> id(java.lang.String id)
- Returns:
this
.
-
messages
public BackupStrategy.DataPartition.DataPartitionBuilder<T> messages(java.util.List<T> messages)
- Returns:
this
.
-
build
public BackupStrategy.DataPartition<T> build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-