Interface StartEngagementFromOpportunityTaskResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartEngagementFromOpportunityTaskResponse.Builder,StartEngagementFromOpportunityTaskResponse>,PartnerCentralSellingResponse.Builder,SdkBuilder<StartEngagementFromOpportunityTaskResponse.Builder,StartEngagementFromOpportunityTaskResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- StartEngagementFromOpportunityTaskResponse
public static interface StartEngagementFromOpportunityTaskResponse.Builder extends PartnerCentralSellingResponse.Builder, SdkPojo, CopyableBuilder<StartEngagementFromOpportunityTaskResponse.Builder,StartEngagementFromOpportunityTaskResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartEngagementFromOpportunityTaskResponse.BuilderengagementId(String engagementId)The identifier of the newly created Engagement.StartEngagementFromOpportunityTaskResponse.BuilderengagementInvitationId(String engagementInvitationId)The identifier of the new Engagement invitation.StartEngagementFromOpportunityTaskResponse.Buildermessage(String message)If the task fails, this field contains a detailed message describing the failure and possible recovery steps.StartEngagementFromOpportunityTaskResponse.BuilderopportunityId(String opportunityId)Returns the original opportunity identifier passed in the request, which is the unique identifier for the opportunity created in the partner’s system.StartEngagementFromOpportunityTaskResponse.BuilderreasonCode(String reasonCode)Indicates the reason for task failure using an enumerated code.StartEngagementFromOpportunityTaskResponse.BuilderreasonCode(ReasonCode reasonCode)Indicates the reason for task failure using an enumerated code.StartEngagementFromOpportunityTaskResponse.BuilderresourceSnapshotJobId(String resourceSnapshotJobId)The identifier of the resource snapshot job created to add the opportunity resource snapshot to the Engagement.StartEngagementFromOpportunityTaskResponse.BuilderstartTime(Instant startTime)The timestamp indicating when the task was initiated.StartEngagementFromOpportunityTaskResponse.BuildertaskArn(String taskArn)The Amazon Resource Name (ARN) of the task, used for tracking and managing the task within AWS.StartEngagementFromOpportunityTaskResponse.BuildertaskId(String taskId)The unique identifier of the task, used to track the task’s progress.StartEngagementFromOpportunityTaskResponse.BuildertaskStatus(String taskStatus)Indicates the current status of the task.StartEngagementFromOpportunityTaskResponse.BuildertaskStatus(TaskStatus taskStatus)Indicates the current status of the task.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.partnercentralselling.model.PartnerCentralSellingResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
engagementId
StartEngagementFromOpportunityTaskResponse.Builder engagementId(String engagementId)
The identifier of the newly created Engagement. Only populated if TaskStatus is COMPLETE.
- Parameters:
engagementId- The identifier of the newly created Engagement. Only populated if TaskStatus is COMPLETE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engagementInvitationId
StartEngagementFromOpportunityTaskResponse.Builder engagementInvitationId(String engagementInvitationId)
The identifier of the new Engagement invitation. Only populated if TaskStatus is COMPLETE.
- Parameters:
engagementInvitationId- The identifier of the new Engagement invitation. Only populated if TaskStatus is COMPLETE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
StartEngagementFromOpportunityTaskResponse.Builder message(String 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.
-
opportunityId
StartEngagementFromOpportunityTaskResponse.Builder opportunityId(String opportunityId)
Returns the original opportunity identifier passed in the request, which is the unique identifier for the opportunity created in the partner’s system.
- Parameters:
opportunityId- Returns the original opportunity identifier passed in the request, which is the unique identifier for the opportunity created in the partner’s system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reasonCode
StartEngagementFromOpportunityTaskResponse.Builder reasonCode(String 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,ReasonCode
-
reasonCode
StartEngagementFromOpportunityTaskResponse.Builder reasonCode(ReasonCode 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,ReasonCode
-
resourceSnapshotJobId
StartEngagementFromOpportunityTaskResponse.Builder resourceSnapshotJobId(String resourceSnapshotJobId)
The identifier of the resource snapshot job created to add the opportunity resource snapshot to the Engagement. Only populated if TaskStatus is COMPLETE
- Parameters:
resourceSnapshotJobId- The identifier of the resource snapshot job created to add the opportunity resource snapshot to the Engagement. Only populated if TaskStatus is COMPLETE- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
StartEngagementFromOpportunityTaskResponse.Builder startTime(Instant 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.
-
taskArn
StartEngagementFromOpportunityTaskResponse.Builder taskArn(String 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.
-
taskId
StartEngagementFromOpportunityTaskResponse.Builder taskId(String taskId)
The unique identifier of the task, used to track the task’s progress. This value follows a specific pattern:
^oit-[0-9a-z]{13}$.- Parameters:
taskId- The unique identifier of the task, used to track the task’s progress. This value follows a specific pattern:^oit-[0-9a-z]{13}$.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskStatus
StartEngagementFromOpportunityTaskResponse.Builder taskStatus(String taskStatus)
Indicates the current status of the task. Valid values include
IN_PROGRESS,COMPLETE, andFAILED.- Parameters:
taskStatus- Indicates the current status of the task. Valid values includeIN_PROGRESS,COMPLETE, andFAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TaskStatus,TaskStatus
-
taskStatus
StartEngagementFromOpportunityTaskResponse.Builder taskStatus(TaskStatus taskStatus)
Indicates the current status of the task. Valid values include
IN_PROGRESS,COMPLETE, andFAILED.- Parameters:
taskStatus- Indicates the current status of the task. Valid values includeIN_PROGRESS,COMPLETE, andFAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TaskStatus,TaskStatus
-
-