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.
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