Class ListOpportunityFromEngagementTaskSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ListOpportunityFromEngagementTaskSummary.Builder,ListOpportunityFromEngagementTaskSummary>
Provides a summary of a task related to creating an opportunity from an engagement. This structure contains key information about the task's status, associated identifiers, and any failure details for opportunity creation processes.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe unique identifier of the engagement context associated with the opportunity creation task.final StringThe unique identifier of the engagement from which the opportunity is being created.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringmessage()A detailed message providing additional information about the task, especially useful in case of failures.final StringThe unique identifier of the opportunity created as a result of the task.final ReasonCodeA code indicating the specific reason for a task failure.final StringA code indicating the specific reason for a task failure.final StringThe identifier of the resource snapshot job associated with this task, if a snapshot was created as part of the opportunity creation process.static Class<? extends ListOpportunityFromEngagementTaskSummary.Builder> final InstantThe timestamp indicating when the task was initiated, in RFC 3339 format.final StringtaskArn()The Amazon Resource Name (ARN) that uniquely identifies the task within AWS.final StringtaskId()The unique identifier of the task for creating an opportunity from an engagement.final TaskStatusThe current status of the task.final StringThe current status of the task.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
taskId
The unique identifier of the task for creating an opportunity from an engagement.
- Returns:
- The unique identifier of the task for creating an opportunity from an engagement.
-
taskArn
The Amazon Resource Name (ARN) that uniquely identifies the task within AWS. This ARN can be used for referencing the task in other AWS services or APIs.
- Returns:
- The Amazon Resource Name (ARN) that uniquely identifies the task within AWS. This ARN can be used for referencing the task in other AWS services or APIs.
-
startTime
The timestamp indicating when the task was initiated, in RFC 3339 format.
- Returns:
- The timestamp indicating when the task was initiated, in RFC 3339 format.
-
taskStatus
The current status of the task. Valid values are COMPLETE, INPROGRESS, or FAILED.
If the service returns an enum value that is not available in the current SDK version,
taskStatuswill returnTaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtaskStatusAsString().- Returns:
- The current status of the task. Valid values are COMPLETE, INPROGRESS, or FAILED.
- See Also:
-
taskStatusAsString
The current status of the task. Valid values are COMPLETE, INPROGRESS, or FAILED.
If the service returns an enum value that is not available in the current SDK version,
taskStatuswill returnTaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtaskStatusAsString().- Returns:
- The current status of the task. Valid values are COMPLETE, INPROGRESS, or FAILED.
- See Also:
-
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.
-
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,
reasonCodewill returnReasonCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreasonCodeAsString().- 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:
-
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,
reasonCodewill returnReasonCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreasonCodeAsString().- 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:
-
opportunityId
The unique identifier of the opportunity created as a result of the task. This field is populated when the task is completed successfully.
- Returns:
- The unique identifier of the opportunity created as a result of the task. This field is populated when the task is completed successfully.
-
resourceSnapshotJobId
The identifier of the resource snapshot job associated with this task, if a snapshot was created as part of the opportunity creation process.
- Returns:
- The identifier of the resource snapshot job associated with this task, if a snapshot was created as part of the opportunity creation process.
-
engagementId
The unique identifier of the engagement from which the opportunity is being created. This field helps track the source of the opportunity creation task.
- Returns:
- The unique identifier of the engagement from which the opportunity is being created. This field helps track the source of the opportunity creation task.
-
contextId
The unique identifier of the engagement context associated with the opportunity creation task. This links the task to specific contextual information within the engagement.
- Returns:
- The unique identifier of the engagement context associated with the opportunity creation task. This links the task to specific contextual information within the engagement.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ListOpportunityFromEngagementTaskSummary.Builder,ListOpportunityFromEngagementTaskSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends ListOpportunityFromEngagementTaskSummary.Builder> serializableBuilderClass() -
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-