public static interface ResourceSyncAttempt.Builder extends SdkPojo, CopyableBuilder<ResourceSyncAttempt.Builder,ResourceSyncAttempt>
| Modifier and Type | Method and Description |
|---|---|
ResourceSyncAttempt.Builder |
events(Collection<ResourceSyncEvent> events)
An array of events with detail data.
|
ResourceSyncAttempt.Builder |
events(Consumer<ResourceSyncEvent.Builder>... events)
An array of events with detail data.
|
ResourceSyncAttempt.Builder |
events(ResourceSyncEvent... events)
An array of events with detail data.
|
default ResourceSyncAttempt.Builder |
initialRevision(Consumer<Revision.Builder> initialRevision)
Detail data for the initial repository commit, path and push.
|
ResourceSyncAttempt.Builder |
initialRevision(Revision initialRevision)
Detail data for the initial repository commit, path and push.
|
ResourceSyncAttempt.Builder |
startedAt(Instant startedAt)
The time when the sync attempt started.
|
ResourceSyncAttempt.Builder |
status(ResourceSyncStatus status)
The status of the sync attempt.
|
ResourceSyncAttempt.Builder |
status(String status)
The status of the sync attempt.
|
ResourceSyncAttempt.Builder |
target(String target)
The resource that is synced to.
|
default ResourceSyncAttempt.Builder |
targetRevision(Consumer<Revision.Builder> targetRevision)
Detail data for the target revision.
|
ResourceSyncAttempt.Builder |
targetRevision(Revision targetRevision)
Detail data for the target revision.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildResourceSyncAttempt.Builder events(Collection<ResourceSyncEvent> events)
An array of events with detail data.
events - An array of events with detail data.ResourceSyncAttempt.Builder events(ResourceSyncEvent... events)
An array of events with detail data.
events - An array of events with detail data.ResourceSyncAttempt.Builder events(Consumer<ResourceSyncEvent.Builder>... events)
An array of events with detail data.
This is a convenience method that creates an instance of theResourceSyncEvent.Builder avoiding the need to create
one manually via ResourceSyncEvent.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
ResourceSyncEvent.Builder#events(java.util.Collection) ResourceSyncAttempt.Builder initialRevision(Revision initialRevision)
Detail data for the initial repository commit, path and push.
initialRevision - Detail data for the initial repository commit, path and push.default ResourceSyncAttempt.Builder initialRevision(Consumer<Revision.Builder> initialRevision)
Detail data for the initial repository commit, path and push.
This is a convenience method that creates an instance of theRevision.Builder avoiding the need to
create one manually via Revision.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to initialRevision(Revision).
initialRevision - a consumer that will call methods on Revision.BuilderinitialRevision(Revision)ResourceSyncAttempt.Builder startedAt(Instant startedAt)
The time when the sync attempt started.
startedAt - The time when the sync attempt started.ResourceSyncAttempt.Builder status(String status)
The status of the sync attempt.
status - The status of the sync attempt.ResourceSyncStatus,
ResourceSyncStatusResourceSyncAttempt.Builder status(ResourceSyncStatus status)
The status of the sync attempt.
status - The status of the sync attempt.ResourceSyncStatus,
ResourceSyncStatusResourceSyncAttempt.Builder target(String target)
The resource that is synced to.
target - The resource that is synced to.ResourceSyncAttempt.Builder targetRevision(Revision targetRevision)
Detail data for the target revision.
targetRevision - Detail data for the target revision.default ResourceSyncAttempt.Builder targetRevision(Consumer<Revision.Builder> targetRevision)
Detail data for the target revision.
This is a convenience method that creates an instance of theRevision.Builder avoiding the need to
create one manually via Revision.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to targetRevision(Revision).
targetRevision - a consumer that will call methods on Revision.BuildertargetRevision(Revision)Copyright © 2023. All rights reserved.