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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RepositorySyncAttempt.Builderevents(Collection<RepositorySyncEvent> events)Detail data for sync attempt events.RepositorySyncAttempt.Builderevents(Consumer<RepositorySyncEvent.Builder>... events)Detail data for sync attempt events.RepositorySyncAttempt.Builderevents(RepositorySyncEvent... events)Detail data for sync attempt events.RepositorySyncAttempt.BuilderstartedAt(Instant startedAt)The time when the sync attempt started.RepositorySyncAttempt.Builderstatus(String status)The sync attempt status.RepositorySyncAttempt.Builderstatus(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 Detail
-
events
RepositorySyncAttempt.Builder events(Collection<RepositorySyncEvent> 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
RepositorySyncAttempt.Builder events(RepositorySyncEvent... 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
RepositorySyncAttempt.Builder events(Consumer<RepositorySyncEvent.Builder>... events)
Detail data for sync attempt events.
This is a convenience method that creates an instance of theRepositorySyncEvent.Builderavoiding the need to create one manually viaRepositorySyncEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#events(List.) - 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:
#events(java.util.Collection)
-
startedAt
RepositorySyncAttempt.Builder startedAt(Instant 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
RepositorySyncAttempt.Builder status(String 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:
RepositorySyncStatus,RepositorySyncStatus
-
status
RepositorySyncAttempt.Builder status(RepositorySyncStatus 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:
RepositorySyncStatus,RepositorySyncStatus
-
-