Interface StartOpportunityFromEngagementTaskResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartOpportunityFromEngagementTaskResponse.Builder,,StartOpportunityFromEngagementTaskResponse> PartnerCentralSellingResponse.Builder,SdkBuilder<StartOpportunityFromEngagementTaskResponse.Builder,,StartOpportunityFromEngagementTaskResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
StartOpportunityFromEngagementTaskResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the engagement context used to create the opportunity.engagementId(String engagementId) The unique identifier of the engagement from which the opportunity was created.If the task fails, this field contains a detailed message describing the failure and possible recovery steps.opportunityId(String opportunityId) The unique identifier of the opportunity created as a result of the task.reasonCode(String reasonCode) Indicates the reason for task failure using an enumerated code.reasonCode(ReasonCode reasonCode) Indicates the reason for task failure using an enumerated code.resourceSnapshotJobId(String resourceSnapshotJobId) The identifier of the resource snapshot job created as part of the opportunity creation process.The timestamp indicating when the task was initiated.The Amazon Resource Name (ARN) of the task, used for tracking and managing the task within AWS.The unique identifier of the task, used to track the task's progress.taskStatus(String taskStatus) Indicates the current status of the task.taskStatus(TaskStatus taskStatus) Indicates the current status of the task.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.partnercentralselling.model.PartnerCentralSellingResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
taskId
The unique identifier of the task, used to track the task's progress.
- Parameters:
taskId- The unique identifier of the task, used to track the task's progress.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskArn
The Amazon Resource Name (ARN) of the task, used for tracking and managing the task within AWS.
- Parameters:
taskArn- The Amazon Resource Name (ARN) of the task, used for tracking and managing the task within AWS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The timestamp indicating when the task was initiated. The format follows RFC 3339 section 5.6.
- Parameters:
startTime- The timestamp indicating when the task was initiated. The format follows RFC 3339 section 5.6.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskStatus
Indicates the current status of the task.
- Parameters:
taskStatus- Indicates the current status of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
taskStatus
Indicates the current status of the task.
- Parameters:
taskStatus- Indicates the current status of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
If the task fails, this field contains a detailed message describing the failure and possible recovery steps.
- Parameters:
message- If the task fails, this field contains a detailed message describing the failure and possible recovery steps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reasonCode
Indicates the reason for task failure using an enumerated code.
- Parameters:
reasonCode- Indicates the reason for task failure using an enumerated code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reasonCode
Indicates the reason for task failure using an enumerated code.
- Parameters:
reasonCode- Indicates the reason for task failure using an enumerated code.- 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
StartOpportunityFromEngagementTaskResponse.Builder resourceSnapshotJobId(String resourceSnapshotJobId) The identifier of the resource snapshot job created as part of the opportunity creation process.
- Parameters:
resourceSnapshotJobId- The identifier of the resource snapshot job 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 was created.
- Parameters:
engagementId- The unique identifier of the engagement from which the opportunity was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextId
The unique identifier of the engagement context used to create the opportunity.
- Parameters:
contextId- The unique identifier of the engagement context used to create the opportunity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-