你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Status Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. contentmoderator. models. Status
- com.
public class Status
Status properties.
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
code()
Get the code value. |
String |
description()
Get the description value. |
String |
exception()
Get the exception value. |
Status |
withCode(Integer code)
Set the code value. |
Status |
withDescription(String description)
Set the description value. |
Status |
withException(String exception)
Set the exception value. |
Method Details
code
public Integer code()
Get the code value.
Returns:
description
public String description()
Get the description value.
Returns:
exception
public String exception()
Get the exception value.
Returns:
withCode
public Status withCode(Integer code)
Set the code value.
Parameters:
Returns:
withDescription
public Status withDescription(String description)
Set the description value.
Parameters:
Returns:
withException
public Status withException(String exception)
Set the exception value.
Parameters:
Returns: