public static interface RepositorySyncAttempt.Builder extends SdkPojo, CopyableBuilder<RepositorySyncAttempt.Builder,RepositorySyncAttempt>
| Modifier and Type | Method and Description |
|---|---|
RepositorySyncAttempt.Builder |
events(Collection<RepositorySyncEvent> events)
Detail data for sync attempt events.
|
RepositorySyncAttempt.Builder |
events(Consumer<RepositorySyncEvent.Builder>... events)
Detail data for sync attempt events.
|
RepositorySyncAttempt.Builder |
events(RepositorySyncEvent... events)
Detail data for sync attempt events.
|
RepositorySyncAttempt.Builder |
startedAt(Instant startedAt)
The time when the sync attempt started.
|
RepositorySyncAttempt.Builder |
status(RepositorySyncStatus status)
The sync attempt status.
|
RepositorySyncAttempt.Builder |
status(String status)
The sync attempt status.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRepositorySyncAttempt.Builder events(Collection<RepositorySyncEvent> events)
Detail data for sync attempt events.
events - Detail data for sync attempt events.RepositorySyncAttempt.Builder events(RepositorySyncEvent... events)
Detail data for sync attempt events.
events - Detail data for sync attempt events.RepositorySyncAttempt.Builder events(Consumer<RepositorySyncEvent.Builder>... events)
Detail data for sync attempt events.
This is a convenience method that creates an instance of theRepositorySyncEvent.Builder avoiding the need to create
one manually via RepositorySyncEvent.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #events(List.
events - a consumer that will call methods on
RepositorySyncEvent.Builder#events(java.util.Collection) RepositorySyncAttempt.Builder startedAt(Instant startedAt)
The time when the sync attempt started.
startedAt - The time when the sync attempt started.RepositorySyncAttempt.Builder status(String status)
The sync attempt status.
status - The sync attempt status.RepositorySyncStatus,
RepositorySyncStatusRepositorySyncAttempt.Builder status(RepositorySyncStatus status)
The sync attempt status.
status - The sync attempt status.RepositorySyncStatus,
RepositorySyncStatusCopyright © 2023. All rights reserved.