Interface RegionHighlights.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<RegionHighlights.Builder,,- RegionHighlights> - SdkBuilder<RegionHighlights.Builder,,- RegionHighlights> - SdkPojo
- Enclosing class:
- RegionHighlights
- 
Method SummaryModifier and TypeMethodDescriptioncode(Collection<Highlight> code) Indicates the starting and ending index of the region in the text query that match the found title.code(Consumer<Highlight.Builder>... code) Indicates the starting and ending index of the region in the text query that match the found title.Indicates the starting and ending index of the region in the text query that match the found title.name(Collection<Highlight> name) Indicates the starting and ending index of the region name in the text query that match the found title.name(Consumer<Highlight.Builder>... name) Indicates the starting and ending index of the region name in the text query that match the found title.Indicates the starting and ending index of the region name in the text query that match the found title.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
codeIndicates the starting and ending index of the region in the text query that match the found title. - Parameters:
- code- Indicates the starting and ending index of the region in the text query that match the found title.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
codeIndicates the starting and ending index of the region in the text query that match the found title. - Parameters:
- code- Indicates the starting and ending index of the region in the text query that match the found title.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
codeIndicates the starting and ending index of the region in the text query that match the found title. This is a convenience method that creates an instance of theHighlight.Builderavoiding the need to create one manually viaHighlight.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocode(List<Highlight>).- Parameters:
- code- a consumer that will call methods on- Highlight.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nameIndicates the starting and ending index of the region name in the text query that match the found title. - Parameters:
- name- Indicates the starting and ending index of the region name in the text query that match the found title.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nameIndicates the starting and ending index of the region name in the text query that match the found title. - Parameters:
- name- Indicates the starting and ending index of the region name in the text query that match the found title.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nameIndicates the starting and ending index of the region name in the text query that match the found title. This is a convenience method that creates an instance of theHighlight.Builderavoiding the need to create one manually viaHighlight.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toname(List<Highlight>).- Parameters:
- name- a consumer that will call methods on- Highlight.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-