Interface ResourceSyncAttempt.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceSyncAttempt.Builder,
,ResourceSyncAttempt> SdkBuilder<ResourceSyncAttempt.Builder,
,ResourceSyncAttempt> SdkPojo
- Enclosing class:
ResourceSyncAttempt
-
Method Summary
Modifier and TypeMethodDescriptionevents
(Collection<ResourceSyncEvent> events) An array of events with detail data.events
(Consumer<ResourceSyncEvent.Builder>... events) An array of events with detail data.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.initialRevision
(Revision initialRevision) Detail data for the initial repository commit, path and push.The time when the sync attempt started.The status of the sync attempt.status
(ResourceSyncStatus status) The status of the sync attempt.The resource that is synced to.default ResourceSyncAttempt.Builder
targetRevision
(Consumer<Revision.Builder> targetRevision) Detail data for the target revision.targetRevision
(Revision targetRevision) Detail data for the target revision.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
events
An array of events with detail data.
- Parameters:
events
- An array of events with detail data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
An array of events with detail data.
- Parameters:
events
- An array of events with detail data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaResourceSyncEvent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toevents(List<ResourceSyncEvent>)
.- Parameters:
events
- a consumer that will call methods onResourceSyncEvent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
initialRevision
Detail data for the initial repository commit, path and push.
- Parameters:
initialRevision
- Detail data for the initial repository commit, path and push.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaRevision.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinitialRevision(Revision)
.- Parameters:
initialRevision
- a consumer that will call methods onRevision.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startedAt
The time when the sync attempt started.
- Parameters:
startedAt
- The time when the sync attempt started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the sync attempt.
- Parameters:
status
- The status of the sync attempt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the sync attempt.
- Parameters:
status
- The status of the sync attempt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
target
The resource that is synced to.
- Parameters:
target
- The resource that is synced to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetRevision
Detail data for the target revision.
- Parameters:
targetRevision
- Detail data for the target revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaRevision.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetRevision(Revision)
.- Parameters:
targetRevision
- a consumer that will call methods onRevision.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-