Address Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. contentmoderator. models. Address
- com.
public class Address
Address details.
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
index()
Get the index value. |
String |
text()
Get the text value. |
Address |
withIndex(Integer index)
Set the index value. |
Address |
withText(String text)
Set the text value. |
Method Details
index
public Integer index()
Get the index value.
Returns:
the index value
text
public String text()
Get the text value.
Returns:
the text value
withIndex
public Address withIndex(Integer index)
Set the index value.
Parameters:
index
- the index value to set
Returns:
the Address object itself.
withText
public Address withText(String text)
Set the text value.
Parameters:
text
- the text value to set
Returns:
the Address object itself.