Interface StartBotRecommendationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartBotRecommendationResponse.Builder,StartBotRecommendationResponse>,LexModelsV2Response.Builder,SdkBuilder<StartBotRecommendationResponse.Builder,StartBotRecommendationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- StartBotRecommendationResponse
public static interface StartBotRecommendationResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<StartBotRecommendationResponse.Builder,StartBotRecommendationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartBotRecommendationResponse.BuilderbotId(String botId)The unique identifier of the bot containing the bot recommendation.StartBotRecommendationResponse.BuilderbotRecommendationId(String botRecommendationId)The identifier of the bot recommendation that you have created.StartBotRecommendationResponse.BuilderbotRecommendationStatus(String botRecommendationStatus)The status of the bot recommendation.StartBotRecommendationResponse.BuilderbotRecommendationStatus(BotRecommendationStatus botRecommendationStatus)The status of the bot recommendation.StartBotRecommendationResponse.BuilderbotVersion(String botVersion)The version of the bot containing the bot recommendation.StartBotRecommendationResponse.BuildercreationDateTime(Instant creationDateTime)A timestamp of the date and time that the bot recommendation was created.default StartBotRecommendationResponse.BuilderencryptionSetting(Consumer<EncryptionSetting.Builder> encryptionSetting)The object representing the passwords that were used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.StartBotRecommendationResponse.BuilderencryptionSetting(EncryptionSetting encryptionSetting)The object representing the passwords that were used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.StartBotRecommendationResponse.BuilderlocaleId(String localeId)The identifier of the language and locale of the bot recommendation to start.default StartBotRecommendationResponse.BuildertranscriptSourceSetting(Consumer<TranscriptSourceSetting.Builder> transcriptSourceSetting)The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.StartBotRecommendationResponse.BuildertranscriptSourceSetting(TranscriptSourceSetting transcriptSourceSetting)The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
botId
StartBotRecommendationResponse.Builder botId(String botId)
The unique identifier of the bot containing the bot recommendation.
- Parameters:
botId- The unique identifier of the bot containing the bot recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
StartBotRecommendationResponse.Builder botVersion(String botVersion)
The version of the bot containing the bot recommendation.
- Parameters:
botVersion- The version of the bot containing the bot recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
StartBotRecommendationResponse.Builder localeId(String localeId)
The identifier of the language and locale of the bot recommendation to start. The string must match one of the supported locales. For more information, see Supported languages
- Parameters:
localeId- The identifier of the language and locale of the bot recommendation to start. The string must match one of the supported locales. For more information, see Supported languages- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botRecommendationStatus
StartBotRecommendationResponse.Builder botRecommendationStatus(String botRecommendationStatus)
The status of the bot recommendation.
If the status is Failed, then the reasons for the failure are listed in the failureReasons field.
- Parameters:
botRecommendationStatus- The status of the bot recommendation.If the status is Failed, then the reasons for the failure are listed in the failureReasons field.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BotRecommendationStatus,BotRecommendationStatus
-
botRecommendationStatus
StartBotRecommendationResponse.Builder botRecommendationStatus(BotRecommendationStatus botRecommendationStatus)
The status of the bot recommendation.
If the status is Failed, then the reasons for the failure are listed in the failureReasons field.
- Parameters:
botRecommendationStatus- The status of the bot recommendation.If the status is Failed, then the reasons for the failure are listed in the failureReasons field.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BotRecommendationStatus,BotRecommendationStatus
-
botRecommendationId
StartBotRecommendationResponse.Builder botRecommendationId(String botRecommendationId)
The identifier of the bot recommendation that you have created.
- Parameters:
botRecommendationId- The identifier of the bot recommendation that you have created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
StartBotRecommendationResponse.Builder creationDateTime(Instant creationDateTime)
A timestamp of the date and time that the bot recommendation was created.
- Parameters:
creationDateTime- A timestamp of the date and time that the bot recommendation was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transcriptSourceSetting
StartBotRecommendationResponse.Builder transcriptSourceSetting(TranscriptSourceSetting transcriptSourceSetting)
The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.
- Parameters:
transcriptSourceSetting- The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transcriptSourceSetting
default StartBotRecommendationResponse.Builder transcriptSourceSetting(Consumer<TranscriptSourceSetting.Builder> transcriptSourceSetting)
The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.
This is a convenience method that creates an instance of theTranscriptSourceSetting.Builderavoiding the need to create one manually viaTranscriptSourceSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totranscriptSourceSetting(TranscriptSourceSetting).- Parameters:
transcriptSourceSetting- a consumer that will call methods onTranscriptSourceSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
transcriptSourceSetting(TranscriptSourceSetting)
-
encryptionSetting
StartBotRecommendationResponse.Builder encryptionSetting(EncryptionSetting encryptionSetting)
The object representing the passwords that were used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.
- Parameters:
encryptionSetting- The object representing the passwords that were used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionSetting
default StartBotRecommendationResponse.Builder encryptionSetting(Consumer<EncryptionSetting.Builder> encryptionSetting)
The object representing the passwords that were used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.
This is a convenience method that creates an instance of theEncryptionSetting.Builderavoiding the need to create one manually viaEncryptionSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionSetting(EncryptionSetting).- Parameters:
encryptionSetting- a consumer that will call methods onEncryptionSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
encryptionSetting(EncryptionSetting)
-
-