Interface DescribeBotRecommendationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeBotRecommendationResponse.Builder,DescribeBotRecommendationResponse>,LexModelsV2Response.Builder,SdkBuilder<DescribeBotRecommendationResponse.Builder,DescribeBotRecommendationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeBotRecommendationResponse
public static interface DescribeBotRecommendationResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<DescribeBotRecommendationResponse.Builder,DescribeBotRecommendationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeBotRecommendationResponse.BuilderbotId(String botId)The identifier of the bot associated with the bot recommendation.DescribeBotRecommendationResponse.BuilderbotRecommendationId(String botRecommendationId)The identifier of the bot recommendation being described.default DescribeBotRecommendationResponse.BuilderbotRecommendationResults(Consumer<BotRecommendationResults.Builder> botRecommendationResults)The object representing the URL of the bot definition, the URL of the associated transcript and a statistical summary of the bot recommendation results.DescribeBotRecommendationResponse.BuilderbotRecommendationResults(BotRecommendationResults botRecommendationResults)The object representing the URL of the bot definition, the URL of the associated transcript and a statistical summary of the bot recommendation results.DescribeBotRecommendationResponse.BuilderbotRecommendationStatus(String botRecommendationStatus)The status of the bot recommendation.DescribeBotRecommendationResponse.BuilderbotRecommendationStatus(BotRecommendationStatus botRecommendationStatus)The status of the bot recommendation.DescribeBotRecommendationResponse.BuilderbotVersion(String botVersion)The version of the bot associated with the bot recommendation.DescribeBotRecommendationResponse.BuildercreationDateTime(Instant creationDateTime)The date and time that the bot recommendation was created.default DescribeBotRecommendationResponse.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.DescribeBotRecommendationResponse.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.DescribeBotRecommendationResponse.BuilderfailureReasons(String... failureReasons)If botRecommendationStatus is Failed, Amazon Lex explains why.DescribeBotRecommendationResponse.BuilderfailureReasons(Collection<String> failureReasons)If botRecommendationStatus is Failed, Amazon Lex explains why.DescribeBotRecommendationResponse.BuilderlastUpdatedDateTime(Instant lastUpdatedDateTime)The date and time that the bot recommendation was last updated.DescribeBotRecommendationResponse.BuilderlocaleId(String localeId)The identifier of the language and locale of the bot recommendation to describe.default DescribeBotRecommendationResponse.BuildertranscriptSourceSetting(Consumer<TranscriptSourceSetting.Builder> transcriptSourceSetting)The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.DescribeBotRecommendationResponse.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
DescribeBotRecommendationResponse.Builder botId(String botId)
The identifier of the bot associated with the bot recommendation.
- Parameters:
botId- The identifier of the bot associated with the bot recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
DescribeBotRecommendationResponse.Builder botVersion(String botVersion)
The version of the bot associated with the bot recommendation.
- Parameters:
botVersion- The version of the bot associated with the bot recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
DescribeBotRecommendationResponse.Builder localeId(String localeId)
The identifier of the language and locale of the bot recommendation to describe.
- Parameters:
localeId- The identifier of the language and locale of the bot recommendation to describe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botRecommendationStatus
DescribeBotRecommendationResponse.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
DescribeBotRecommendationResponse.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
DescribeBotRecommendationResponse.Builder botRecommendationId(String botRecommendationId)
The identifier of the bot recommendation being described.
- Parameters:
botRecommendationId- The identifier of the bot recommendation being described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReasons
DescribeBotRecommendationResponse.Builder failureReasons(Collection<String> failureReasons)
If botRecommendationStatus is Failed, Amazon Lex explains why.
- Parameters:
failureReasons- If botRecommendationStatus is Failed, Amazon Lex explains why.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReasons
DescribeBotRecommendationResponse.Builder failureReasons(String... failureReasons)
If botRecommendationStatus is Failed, Amazon Lex explains why.
- Parameters:
failureReasons- If botRecommendationStatus is Failed, Amazon Lex explains why.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
DescribeBotRecommendationResponse.Builder creationDateTime(Instant creationDateTime)
The date and time that the bot recommendation was created.
- Parameters:
creationDateTime- 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.
-
lastUpdatedDateTime
DescribeBotRecommendationResponse.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)
The date and time that the bot recommendation was last updated.
- Parameters:
lastUpdatedDateTime- The date and time that the bot recommendation was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transcriptSourceSetting
DescribeBotRecommendationResponse.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 DescribeBotRecommendationResponse.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
DescribeBotRecommendationResponse.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 DescribeBotRecommendationResponse.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)
-
botRecommendationResults
DescribeBotRecommendationResponse.Builder botRecommendationResults(BotRecommendationResults botRecommendationResults)
The object representing the URL of the bot definition, the URL of the associated transcript and a statistical summary of the bot recommendation results.
- Parameters:
botRecommendationResults- The object representing the URL of the bot definition, the URL of the associated transcript and a statistical summary of the bot recommendation results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botRecommendationResults
default DescribeBotRecommendationResponse.Builder botRecommendationResults(Consumer<BotRecommendationResults.Builder> botRecommendationResults)
The object representing the URL of the bot definition, the URL of the associated transcript and a statistical summary of the bot recommendation results.
This is a convenience method that creates an instance of theBotRecommendationResults.Builderavoiding the need to create one manually viaBotRecommendationResults.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobotRecommendationResults(BotRecommendationResults).- Parameters:
botRecommendationResults- a consumer that will call methods onBotRecommendationResults.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
botRecommendationResults(BotRecommendationResults)
-
-