Interface RepositorySyncAttempt.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RepositorySyncAttempt.Builder,
,RepositorySyncAttempt> SdkBuilder<RepositorySyncAttempt.Builder,
,RepositorySyncAttempt> SdkPojo
- Enclosing class:
RepositorySyncAttempt
public static interface RepositorySyncAttempt.Builder
extends SdkPojo, CopyableBuilder<RepositorySyncAttempt.Builder,RepositorySyncAttempt>
-
Method Summary
Modifier and TypeMethodDescriptionevents
(Collection<RepositorySyncEvent> events) Detail data for sync attempt events.events
(Consumer<RepositorySyncEvent.Builder>... events) Detail data for sync attempt events.events
(RepositorySyncEvent... events) Detail data for sync attempt events.The time when the sync attempt started.The sync attempt status.status
(RepositorySyncStatus status) The sync attempt status.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
Detail data for sync attempt events.
- Parameters:
events
- Detail data for sync attempt events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
Detail data for sync attempt events.
- Parameters:
events
- Detail data for sync attempt events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaRepositorySyncEvent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toevents(List<RepositorySyncEvent>)
.- Parameters:
events
- a consumer that will call methods onRepositorySyncEvent.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 sync attempt status.
- Parameters:
status
- The sync attempt status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The sync attempt status.
- Parameters:
status
- The sync attempt status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-