Interface VoiceToneAnalysisTask.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VoiceToneAnalysisTask.Builder,
,VoiceToneAnalysisTask> SdkBuilder<VoiceToneAnalysisTask.Builder,
,VoiceToneAnalysisTask> SdkPojo
- Enclosing class:
VoiceToneAnalysisTask
@Mutable
@NotThreadSafe
public static interface VoiceToneAnalysisTask.Builder
extends SdkPojo, CopyableBuilder<VoiceToneAnalysisTask.Builder,VoiceToneAnalysisTask>
-
Method Summary
Modifier and TypeMethodDescriptiondefault VoiceToneAnalysisTask.Builder
callDetails
(Consumer<CallDetails.Builder> callDetails) The call details of a voice tone analysis task.callDetails
(CallDetails callDetails) The call details of a voice tone analysis task.createdTimestamp
(Instant createdTimestamp) The time at which a voice tone analysis task was created.startedTimestamp
(Instant startedTimestamp) The time at which a voice tone analysis task started.statusMessage
(String statusMessage) The status of a voice tone analysis task.updatedTimestamp
(Instant updatedTimestamp) The time at which a voice tone analysis task was updated.voiceToneAnalysisTaskId
(String voiceToneAnalysisTaskId) The ID of the voice tone analysis task.voiceToneAnalysisTaskStatus
(String voiceToneAnalysisTaskStatus) The status of a voice tone analysis task,IN_QUEUE
,IN_PROGRESS
,PARTIAL_SUCCESS
,SUCCEEDED
,FAILED
, orSTOPPED
.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
voiceToneAnalysisTaskId
The ID of the voice tone analysis task.
- Parameters:
voiceToneAnalysisTaskId
- The ID of the voice tone analysis task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voiceToneAnalysisTaskStatus
The status of a voice tone analysis task,
IN_QUEUE
,IN_PROGRESS
,PARTIAL_SUCCESS
,SUCCEEDED
,FAILED
, orSTOPPED
.- Parameters:
voiceToneAnalysisTaskStatus
- The status of a voice tone analysis task,IN_QUEUE
,IN_PROGRESS
,PARTIAL_SUCCESS
,SUCCEEDED
,FAILED
, orSTOPPED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
callDetails
The call details of a voice tone analysis task.
- Parameters:
callDetails
- The call details of a voice tone analysis task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
callDetails
The call details of a voice tone analysis task.
This is a convenience method that creates an instance of theCallDetails.Builder
avoiding the need to create one manually viaCallDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocallDetails(CallDetails)
.- Parameters:
callDetails
- a consumer that will call methods onCallDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdTimestamp
The time at which a voice tone analysis task was created.
- Parameters:
createdTimestamp
- The time at which a voice tone analysis task was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedTimestamp
The time at which a voice tone analysis task was updated.
- Parameters:
updatedTimestamp
- The time at which a voice tone analysis task was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedTimestamp
The time at which a voice tone analysis task started.
- Parameters:
startedTimestamp
- The time at which a voice tone analysis task started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusMessage
The status of a voice tone analysis task.
- Parameters:
statusMessage
- The status of a voice tone analysis task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-