Interface ListOpportunityFromEngagementTaskSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ListOpportunityFromEngagementTaskSummary.Builder,,ListOpportunityFromEngagementTaskSummary> SdkBuilder<ListOpportunityFromEngagementTaskSummary.Builder,,ListOpportunityFromEngagementTaskSummary> SdkPojo
- Enclosing class:
ListOpportunityFromEngagementTaskSummary
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the engagement context associated with the opportunity creation task.engagementId(String engagementId) The unique identifier of the engagement from which the opportunity is being created.A detailed message providing additional information about the task, especially useful in case of failures.opportunityId(String opportunityId) The unique identifier of the opportunity created as a result of the task.reasonCode(String reasonCode) A code indicating the specific reason for a task failure.reasonCode(ReasonCode reasonCode) A code indicating the specific reason for a task failure.resourceSnapshotJobId(String resourceSnapshotJobId) The identifier of the resource snapshot job associated with this task, if a snapshot was created as part of the opportunity creation process.The timestamp indicating when the task was initiated, in RFC 3339 format.The Amazon Resource Name (ARN) that uniquely identifies the task within AWS.The unique identifier of the task for creating an opportunity from an engagement.taskStatus(String taskStatus) The current status of the task.taskStatus(TaskStatus taskStatus) The current status of the task.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
taskId
The unique identifier of the task for creating an opportunity from an engagement.
- Parameters:
taskId- The unique identifier of the task for creating an opportunity from an engagement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The timestamp indicating when the task was initiated, in RFC 3339 format.
- Parameters:
startTime- The timestamp indicating when the task was initiated, in RFC 3339 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskStatus
The current status of the task. Valid values are COMPLETE, INPROGRESS, or FAILED.
- Parameters:
taskStatus- The current status of the task. Valid values are COMPLETE, INPROGRESS, or FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
taskStatus
The current status of the task. Valid values are COMPLETE, INPROGRESS, or FAILED.
- Parameters:
taskStatus- The current status of the task. Valid values are COMPLETE, INPROGRESS, or FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSnapshotJobId
ListOpportunityFromEngagementTaskSummary.Builder resourceSnapshotJobId(String resourceSnapshotJobId) The identifier of the resource snapshot job associated with this task, if a snapshot was created as part of the opportunity creation process.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-