PivotSuggestions Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. imagesearch. models. PivotSuggestions
- com.
public class PivotSuggestions
Defines the pivot segment.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
pivot()
Get the pivot value. |
List<Query> |
suggestions()
Get the suggestions value. |
Pivot |
withPivot(String pivot)
Set the pivot value. |
Pivot |
withSuggestions(List<Query> suggestions)
Set the suggestions value. |
Method Details
pivot
public String pivot()
Get the pivot value.
Returns:
the pivot value
suggestions
public List
Get the suggestions value.
Returns:
the suggestions value
withPivot
public PivotSuggestions withPivot(String pivot)
Set the pivot value.
Parameters:
pivot
- the pivot value to set
Returns:
the PivotSuggestions object itself.
withSuggestions
public PivotSuggestions withSuggestions(List
Set the suggestions value.
Parameters:
suggestions
- the suggestions value to set
Returns:
the PivotSuggestions object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java