JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.codeconnections.model

Class ResourceSyncAttempt

    • Constructor Detail

      • ResourceSyncAttempt

        public ResourceSyncAttempt()
    • Method Detail

      • getEvents

        public List<ResourceSyncEvent> getEvents()

        The events related to a resource sync attempt.

        Returns:
        The events related to a resource sync attempt.
      • setEvents

        public void setEvents(Collection<ResourceSyncEvent> events)

        The events related to a resource sync attempt.

        Parameters:
        events - The events related to a resource sync attempt.
      • withEvents

        public ResourceSyncAttempt withEvents(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.
      • setInitialRevision

        public void setInitialRevision(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.
      • getInitialRevision

        public Revision getInitialRevision()

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

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

        public ResourceSyncAttempt withInitialRevision(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.
      • setStartedAt

        public void setStartedAt(Date startedAt)

        The start time for a resource sync attempt.

        Parameters:
        startedAt - The start time for a resource sync attempt.
      • getStartedAt

        public Date getStartedAt()

        The start time for a resource sync attempt.

        Returns:
        The start time for a resource sync attempt.
      • withStartedAt

        public ResourceSyncAttempt withStartedAt(Date 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.
      • setStatus

        public void setStatus(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.

        See Also:
        ResourceSyncStatus
      • getStatus

        public String getStatus()

        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:
        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.

        See Also:
        ResourceSyncStatus
      • withStatus

        public ResourceSyncAttempt withStatus(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
      • withStatus

        public ResourceSyncAttempt withStatus(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
      • setTargetRevision

        public void setTargetRevision(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.
      • getTargetRevision

        public Revision getTargetRevision()

        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:
        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.
      • withTargetRevision

        public ResourceSyncAttempt withTargetRevision(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.
      • setTarget

        public void setTarget(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.
      • getTarget

        public String getTarget()

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

        Returns:
        The name of the Amazon Web Services resource that is attempted to be synchronized.
      • withTarget

        public ResourceSyncAttempt withTarget(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.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /