Class ListEngagementFromOpportunityTaskSummary

    • Method Detail

      • engagementId

        public final String engagementId()

        The unique identifier of the engagement created as a result of the task. This field is populated when the task is completed successfully.

        Returns:
        The unique identifier of the engagement created as a result of the task. This field is populated when the task is completed successfully.
      • engagementInvitationId

        public final String engagementInvitationId()

        The unique identifier of the Engagement Invitation.

        Returns:
        The unique identifier of the Engagement Invitation.
      • message

        public final String message()

        A detailed message providing additional information about the task, especially useful in case of failures. This field may contain error details or other relevant information about the task's execution

        Returns:
        A detailed message providing additional information about the task, especially useful in case of failures. This field may contain error details or other relevant information about the task's execution
      • opportunityId

        public final String opportunityId()

        The unique identifier of the original Opportunity from which the Engagement is being created. This field helps track the source of the Engagement creation task.

        Returns:
        The unique identifier of the original Opportunity from which the Engagement is being created. This field helps track the source of the Engagement creation task.
      • reasonCode

        public final ReasonCode reasonCode()

        A code indicating the specific reason for a task failure. This field is populated when the task status is FAILED and provides a categorized reason for the failure.

        If the service returns an enum value that is not available in the current SDK version, reasonCode will return ReasonCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from reasonCodeAsString().

        Returns:
        A code indicating the specific reason for a task failure. This field is populated when the task status is FAILED and provides a categorized reason for the failure.
        See Also:
        ReasonCode
      • reasonCodeAsString

        public final String reasonCodeAsString()

        A code indicating the specific reason for a task failure. This field is populated when the task status is FAILED and provides a categorized reason for the failure.

        If the service returns an enum value that is not available in the current SDK version, reasonCode will return ReasonCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from reasonCodeAsString().

        Returns:
        A code indicating the specific reason for a task failure. This field is populated when the task status is FAILED and provides a categorized reason for the failure.
        See Also:
        ReasonCode
      • resourceSnapshotJobId

        public final String resourceSnapshotJobId()

        The identifier of the resource snapshot job associated with this task, if a snapshot was created as part of the Engagement creation process.

        Returns:
        The identifier of the resource snapshot job associated with this task, if a snapshot was created as part of the Engagement creation process.
      • startTime

        public final Instant startTime()

        The timestamp indicating when the task was initiated, in RFC 3339 5.6 date-time format.

        Returns:
        The timestamp indicating when the task was initiated, in RFC 3339 5.6 date-time format.
      • taskArn

        public final String taskArn()

        The Amazon Resource Name (ARN) uniquely identifying this task within AWS. This ARN can be used for referencing the task in other AWS services or APIs.

        Returns:
        The Amazon Resource Name (ARN) uniquely identifying this task within AWS. This ARN can be used for referencing the task in other AWS services or APIs.
      • taskId

        public final String taskId()

        A unique identifier for a specific task.

        Returns:
        A unique identifier for a specific task.
      • taskStatus

        public final TaskStatus taskStatus()

        The current status of the task.

        If the service returns an enum value that is not available in the current SDK version, taskStatus will return TaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from taskStatusAsString().

        Returns:
        The current status of the task.
        See Also:
        TaskStatus
      • taskStatusAsString

        public final String taskStatusAsString()

        The current status of the task.

        If the service returns an enum value that is not available in the current SDK version, taskStatus will return TaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from taskStatusAsString().

        Returns:
        The current status of the task.
        See Also:
        TaskStatus
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final 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
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)