@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RepositorySyncAttempt extends Object implements Serializable, Cloneable, StructuredPojo
Information about a repository sync attempt for a repository with a sync configuration.
| Constructor and Description | 
|---|
| RepositorySyncAttempt() | 
| Modifier and Type | Method and Description | 
|---|---|
| RepositorySyncAttempt | clone() | 
| boolean | equals(Object obj) | 
| List<RepositorySyncEvent> | getEvents()
 The events associated with a specific sync attempt. | 
| Date | getStartedAt()
 The start time of a specific sync attempt. | 
| String | getStatus()
 The status of a specific sync attempt. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setEvents(Collection<RepositorySyncEvent> events)
 The events associated with a specific sync attempt. | 
| void | setStartedAt(Date startedAt)
 The start time of a specific sync attempt. | 
| void | setStatus(String status)
 The status of a specific sync attempt. | 
| String | toString()Returns a string representation of this object. | 
| RepositorySyncAttempt | withEvents(Collection<RepositorySyncEvent> events)
 The events associated with a specific sync attempt. | 
| RepositorySyncAttempt | withEvents(RepositorySyncEvent... events)
 The events associated with a specific sync attempt. | 
| RepositorySyncAttempt | withStartedAt(Date startedAt)
 The start time of a specific sync attempt. | 
| RepositorySyncAttempt | withStatus(RepositorySyncStatus status)
 The status of a specific sync attempt. | 
| RepositorySyncAttempt | withStatus(String status)
 The status of a specific sync attempt. | 
public void setStartedAt(Date startedAt)
The start time of a specific sync attempt.
startedAt - The start time of a specific sync attempt.public Date getStartedAt()
The start time of a specific sync attempt.
public RepositorySyncAttempt withStartedAt(Date startedAt)
The start time of a specific sync attempt.
startedAt - The start time of a specific sync attempt.public void setStatus(String 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.
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.
RepositorySyncStatuspublic String getStatus()
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.
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.
RepositorySyncStatuspublic RepositorySyncAttempt withStatus(String 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.
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.
RepositorySyncStatuspublic RepositorySyncAttempt withStatus(RepositorySyncStatus 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.
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.
RepositorySyncStatuspublic List<RepositorySyncEvent> getEvents()
The events associated with a specific sync attempt.
public void setEvents(Collection<RepositorySyncEvent> events)
The events associated with a specific sync attempt.
events - The events associated with a specific sync attempt.public RepositorySyncAttempt withEvents(RepositorySyncEvent... events)
The events associated with a specific sync attempt.
 NOTE: This method appends the values to the existing list (if any). Use
 setEvents(java.util.Collection) or withEvents(java.util.Collection) if you want to override the
 existing values.
 
events - The events associated with a specific sync attempt.public RepositorySyncAttempt withEvents(Collection<RepositorySyncEvent> events)
The events associated with a specific sync attempt.
events - The events associated with a specific sync attempt.public String toString()
toString in class ObjectObject.toString()public RepositorySyncAttempt clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.