PivotSuggestions Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. imagesearch. models. PivotSuggestions
- com.
public class PivotSuggestions
Defines the pivot segment.
Constructor Summary
Constructor | Description | |
---|---|---|
PivotSuggestions() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
pivot()
Get the pivot value. |
java.util.List<Query> |
suggestions()
Get the suggestions value. |
Pivot |
withPivot(String pivot)
Set the pivot value. |
Pivot |
withSuggestions(List<Query> suggestions)
Set the suggestions value. |
Methods inherited from java.lang.Object
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.toString
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Constructor Details
PivotSuggestions
public PivotSuggestions()
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