Interface RepositorySyncAttempt.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<RepositorySyncAttempt.Builder,,- RepositorySyncAttempt> - SdkBuilder<RepositorySyncAttempt.Builder,,- RepositorySyncAttempt> - SdkPojo
- Enclosing class:
- RepositorySyncAttempt
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
startedAtThe 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.
 
- 
statusThe 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:
 
- 
 
- 
statusThe 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:
 
- 
 
- 
eventsThe 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.
 
- 
eventsThe 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.
 
- 
eventsThe 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 on- RepositorySyncEvent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-