Interface RepositorySyncAttempt.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RepositorySyncAttempt.Builder,,RepositorySyncAttempt> SdkBuilder<RepositorySyncAttempt.Builder,,RepositorySyncAttempt> SdkPojo
- Enclosing class:
RepositorySyncAttempt
-
Method Summary
Modifier and TypeMethodDescriptionevents(Collection<RepositorySyncEvent> events) The events associated with a specific sync attempt.events(Consumer<RepositorySyncEvent.Builder>... events) The events associated with a specific sync attempt.events(RepositorySyncEvent... events) The events associated with a specific sync attempt.The start time of a specific sync attempt.The status of a specific sync attempt.status(RepositorySyncStatus status) The status of a specific sync attempt.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
startedAt
The start time of a specific sync attempt.
- Parameters:
startedAt- The start time of a specific sync attempt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of a specific sync attempt. The following are valid statuses:
-
INITIATED - A repository sync attempt has been created and will begin soon.
-
IN_PROGRESS - A repository sync attempt has started and work is being done to reconcile the branch.
-
SUCCEEDED - The repository sync attempt has completed successfully.
-
FAILED - The repository sync attempt has failed.
-
QUEUED - The repository sync attempt didn't execute and was queued.
- Parameters:
status- The status of a specific sync attempt. The following are valid statuses:-
INITIATED - A repository sync attempt has been created and will begin soon.
-
IN_PROGRESS - A repository sync attempt has started and work is being done to reconcile the branch.
-
SUCCEEDED - The repository sync attempt has completed successfully.
-
FAILED - The repository sync attempt has failed.
-
QUEUED - The repository sync attempt didn't execute and was queued.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The status of a specific sync attempt. The following are valid statuses:
-
INITIATED - A repository sync attempt has been created and will begin soon.
-
IN_PROGRESS - A repository sync attempt has started and work is being done to reconcile the branch.
-
SUCCEEDED - The repository sync attempt has completed successfully.
-
FAILED - The repository sync attempt has failed.
-
QUEUED - The repository sync attempt didn't execute and was queued.
- Parameters:
status- The status of a specific sync attempt. The following are valid statuses:-
INITIATED - A repository sync attempt has been created and will begin soon.
-
IN_PROGRESS - A repository sync attempt has started and work is being done to reconcile the branch.
-
SUCCEEDED - The repository sync attempt has completed successfully.
-
FAILED - The repository sync attempt has failed.
-
QUEUED - The repository sync attempt didn't execute and was queued.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
events
The events associated with a specific sync attempt.
- Parameters:
events- The events associated with a specific sync attempt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
The events associated with a specific sync attempt.
- Parameters:
events- The events associated with a specific sync attempt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
The events associated with a specific sync attempt.
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 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:
-