Status Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.Status

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:

the code value

description

public String description()

Get the description value.

Returns:

the description value

exception

public String exception()

Get the exception value.

Returns:

the exception value

withCode

public Status withCode(Integer code)

Set the code value.

Parameters:

code - the code value to set

Returns:

the Status object itself.

withDescription

public Status withDescription(String description)

Set the description value.

Parameters:

description - the description value to set

Returns:

the Status object itself.

withException

public Status withException(String exception)

Set the exception value.

Parameters:

exception - the exception value to set

Returns:

the Status object itself.

Applies to