Interface ResourceSyncAttempt.Builder

    • Method Detail

      • events

        ResourceSyncAttempt.Builder events​(Collection<ResourceSyncEvent> events)

        The events related to a resource sync attempt.

        Parameters:
        events - The events related to a resource sync attempt.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • events

        ResourceSyncAttempt.Builder events​(ResourceSyncEvent... events)

        The events related to a resource sync attempt.

        Parameters:
        events - The events related to a resource sync attempt.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • initialRevision

        ResourceSyncAttempt.Builder initialRevision​(Revision initialRevision)

        The current state of the resource as defined in the resource's config-file in the linked repository.

        Parameters:
        initialRevision - The current state of the resource as defined in the resource's config-file in the linked repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startedAt

        ResourceSyncAttempt.Builder startedAt​(Instant startedAt)

        The start time for a resource sync attempt.

        Parameters:
        startedAt - The start time for a resource sync attempt.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        ResourceSyncAttempt.Builder status​(String status)

        The status for a resource sync attempt. The follow are valid statuses:

        • SYNC-INITIATED - A resource sync attempt has been created and will begin soon.

        • SYNCING - Syncing has started and work is being done to reconcile state.

        • SYNCED - Syncing has completed successfully.

        • SYNC_FAILED - A resource sync attempt has failed.

        Parameters:
        status - The status for a resource sync attempt. The follow are valid statuses:

        • SYNC-INITIATED - A resource sync attempt has been created and will begin soon.

        • SYNCING - Syncing has started and work is being done to reconcile state.

        • SYNCED - Syncing has completed successfully.

        • SYNC_FAILED - A resource sync attempt has failed.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ResourceSyncStatus, ResourceSyncStatus
      • status

        ResourceSyncAttempt.Builder status​(ResourceSyncStatus status)

        The status for a resource sync attempt. The follow are valid statuses:

        • SYNC-INITIATED - A resource sync attempt has been created and will begin soon.

        • SYNCING - Syncing has started and work is being done to reconcile state.

        • SYNCED - Syncing has completed successfully.

        • SYNC_FAILED - A resource sync attempt has failed.

        Parameters:
        status - The status for a resource sync attempt. The follow are valid statuses:

        • SYNC-INITIATED - A resource sync attempt has been created and will begin soon.

        • SYNCING - Syncing has started and work is being done to reconcile state.

        • SYNCED - Syncing has completed successfully.

        • SYNC_FAILED - A resource sync attempt has failed.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ResourceSyncStatus, ResourceSyncStatus
      • targetRevision

        ResourceSyncAttempt.Builder targetRevision​(Revision targetRevision)

        The desired state of the resource as defined in the resource's config-file in the linked repository. Git sync attempts to update the resource to this state.

        Parameters:
        targetRevision - The desired state of the resource as defined in the resource's config-file in the linked repository. Git sync attempts to update the resource to this state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • target

        ResourceSyncAttempt.Builder target​(String target)

        The name of the Amazon Web Services resource that is attempted to be synchronized.

        Parameters:
        target - The name of the Amazon Web Services resource that is attempted to be synchronized.
        Returns:
        Returns a reference to this object so that method calls can be chained together.