Interface GetProspectingFromEngagementTaskResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetProspectingFromEngagementTaskResponse.Builder,,GetProspectingFromEngagementTaskResponse> PartnerCentralSellingResponse.Builder,SdkBuilder<GetProspectingFromEngagementTaskResponse.Builder,,GetProspectingFromEngagementTaskResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetProspectingFromEngagementTaskResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp indicating when the task finished processing.engagements(Collection<EngagementProspectingResult> engagements) An array ofEngagementProspectingResultentries for each engagement in the task.engagements(Consumer<EngagementProspectingResult.Builder>... engagements) An array ofEngagementProspectingResultentries for each engagement in the task.engagements(EngagementProspectingResult... engagements) An array ofEngagementProspectingResultentries for each engagement in the task.The timestamp indicating when the task was initiated.The Amazon Resource Name (ARN) of the task.The unique identifier of the task.The descriptive name of the task that you provided when you created it.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.
- Parameters:
taskId- The unique identifier of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskArn
The Amazon Resource Name (ARN) of the task.
- Parameters:
taskArn- The Amazon Resource Name (ARN) of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskName
The descriptive name of the task that you provided when you created it.
- Parameters:
taskName- The descriptive name of the task that you provided when you created it.- 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 ISO 8601 date-time notation.
- Parameters:
startTime- The timestamp indicating when the task was initiated. The format follows ISO 8601 date-time notation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The timestamp indicating when the task finished processing. This field is absent if the task is still in progress. The format follows ISO 8601 date-time notation.
- Parameters:
endTime- The timestamp indicating when the task finished processing. This field is absent if the task is still in progress. The format follows ISO 8601 date-time notation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engagements
GetProspectingFromEngagementTaskResponse.Builder engagements(Collection<EngagementProspectingResult> engagements) An array of
EngagementProspectingResultentries for each engagement in the task. Each entry contains the processing status. For successfully completed engagements, includes the prospecting context identifier. For failed engagements, includes an error code and message.- Parameters:
engagements- An array ofEngagementProspectingResultentries for each engagement in the task. Each entry contains the processing status. For successfully completed engagements, includes the prospecting context identifier. For failed engagements, includes an error code and message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engagements
GetProspectingFromEngagementTaskResponse.Builder engagements(EngagementProspectingResult... engagements) An array of
EngagementProspectingResultentries for each engagement in the task. Each entry contains the processing status. For successfully completed engagements, includes the prospecting context identifier. For failed engagements, includes an error code and message.- Parameters:
engagements- An array ofEngagementProspectingResultentries for each engagement in the task. Each entry contains the processing status. For successfully completed engagements, includes the prospecting context identifier. For failed engagements, includes an error code and message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engagements
GetProspectingFromEngagementTaskResponse.Builder engagements(Consumer<EngagementProspectingResult.Builder>... engagements) An array of
This is a convenience method that creates an instance of theEngagementProspectingResultentries for each engagement in the task. Each entry contains the processing status. For successfully completed engagements, includes the prospecting context identifier. For failed engagements, includes an error code and message.EngagementProspectingResult.Builderavoiding the need to create one manually viaEngagementProspectingResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toengagements(List<EngagementProspectingResult>).- Parameters:
engagements- a consumer that will call methods onEngagementProspectingResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-