Interface CountryHighlights.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CountryHighlights.Builder,CountryHighlights>,SdkBuilder<CountryHighlights.Builder,CountryHighlights>,SdkPojo
- Enclosing class:
- CountryHighlights
public static interface CountryHighlights.Builder extends SdkPojo, CopyableBuilder<CountryHighlights.Builder,CountryHighlights>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CountryHighlights.Buildercode(Collection<Highlight> code)Indicates the starting and ending index of the country code in the text query that match the found title.CountryHighlights.Buildercode(Consumer<Highlight.Builder>... code)Indicates the starting and ending index of the country code in the text query that match the found title.CountryHighlights.Buildercode(Highlight... code)Indicates the starting and ending index of the country code in the text query that match the found title.CountryHighlights.Buildername(Collection<Highlight> name)Indicates the starting and ending index of the country code in the text query that match the found title.CountryHighlights.Buildername(Consumer<Highlight.Builder>... name)Indicates the starting and ending index of the country code in the text query that match the found title.CountryHighlights.Buildername(Highlight... name)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 Detail
-
code
CountryHighlights.Builder code(Collection<Highlight> 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
CountryHighlights.Builder code(Highlight... 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
CountryHighlights.Builder code(Consumer<Highlight.Builder>... 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.Builderavoiding the need to create one manually viaHighlight.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#code(List.) - 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:
#code(java.util.Collection)
-
name
CountryHighlights.Builder name(Collection<Highlight> 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
CountryHighlights.Builder name(Highlight... 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
CountryHighlights.Builder name(Consumer<Highlight.Builder>... 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.Builderavoiding the need to create one manually viaHighlight.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#name(List.) - 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:
#name(java.util.Collection)
-
-