Interface KeyPhrase.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<KeyPhrase.Builder,
,KeyPhrase> SdkBuilder<KeyPhrase.Builder,
,KeyPhrase> SdkPojo
- Enclosing class:
KeyPhrase
public static interface KeyPhrase.Builder
extends SdkPojo, CopyableBuilder<KeyPhrase.Builder,KeyPhrase>
-
Method Summary
Modifier and TypeMethodDescriptionbeginOffset
(Integer beginOffset) The zero-based offset from the beginning of the source text to the first character in the key phrase.The zero-based offset from the beginning of the source text to the last character in the key phrase.The level of confidence that Amazon Comprehend has in the accuracy of the detection.The text of a key noun phrase.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, sdkFields
-
Method Details
-
score
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
- Parameters:
score
- The level of confidence that Amazon Comprehend has in the accuracy of the detection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
text
The text of a key noun phrase.
- Parameters:
text
- The text of a key noun phrase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
beginOffset
The zero-based offset from the beginning of the source text to the first character in the key phrase.
- Parameters:
beginOffset
- The zero-based offset from the beginning of the source text to the first character in the key phrase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endOffset
The zero-based offset from the beginning of the source text to the last character in the key phrase.
- Parameters:
endOffset
- The zero-based offset from the beginning of the source text to the last character in the key phrase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-