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:
Applies to
Azure SDK for Java