Interface CountryHighlights.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CountryHighlights.Builder,
,CountryHighlights> SdkBuilder<CountryHighlights.Builder,
,CountryHighlights> SdkPojo
- Enclosing class:
CountryHighlights
-
Method Summary
Modifier and TypeMethodDescriptioncode
(Collection<Highlight> code) Indicates the starting and ending index of the country code in the text query that match the found title.code
(Consumer<Highlight.Builder>... code) Indicates the starting and ending index of the country code in the text query that match the found title.Indicates the starting and ending index of the country code in the text query that match the found title.name
(Collection<Highlight> name) Indicates the starting and ending index of the country code in the text query that match the found title.name
(Consumer<Highlight.Builder>... name) Indicates the starting and ending index of the country code in the text query that match the found title.Indicates the starting and ending index of the country code in the text query that match the found title.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
-
code
Indicates the starting and ending index of the country code in the text query that match the found title.
- Parameters:
code
- Indicates the starting and ending index of the country code in the text query that match the found title.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
code
Indicates the starting and ending index of the country code in the text query that match the found title.
- Parameters:
code
- Indicates the starting and ending index of the country code in the text query that match the found title.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
code
Indicates the starting and ending index of the country code in the text query that match the found title.
This is a convenience method that creates an instance of theHighlight.Builder
avoiding the need to create one manually viaHighlight.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocode(List<Highlight>)
.- Parameters:
code
- a consumer that will call methods onHighlight.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
Indicates the starting and ending index of the country code in the text query that match the found title.
- Parameters:
name
- Indicates the starting and ending index of the country code in the text query that match the found title.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Indicates the starting and ending index of the country code in the text query that match the found title.
- Parameters:
name
- Indicates the starting and ending index of the country code in the text query that match the found title.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Indicates the starting and ending index of the country code in the text query that match the found title.
This is a convenience method that creates an instance of theHighlight.Builder
avoiding the need to create one manually viaHighlight.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toname(List<Highlight>)
.- Parameters:
name
- a consumer that will call methods onHighlight.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-