Email Class

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

public class Email

Email Address details.

Method Summary

Modifier and Type Method and Description
String detected()

Get the detected value.

Integer index()

Get the index value.

String subType()

Get the subType value.

String text()

Get the text value.

Email withDetected(String detected)

Set the detected value.

Email withIndex(Integer index)

Set the index value.

Email withSubType(String subType)

Set the subType value.

Email withText(String text)

Set the text value.

Method Details

detected

public String detected()

Get the detected value.

Returns:

the detected value

index

public Integer index()

Get the index value.

Returns:

the index value

subType

public String subType()

Get the subType value.

Returns:

the subType value

text

public String text()

Get the text value.

Returns:

the text value

withDetected

public Email withDetected(String detected)

Set the detected value.

Parameters:

detected - the detected value to set

Returns:

the Email object itself.

withIndex

public Email withIndex(Integer index)

Set the index value.

Parameters:

index - the index value to set

Returns:

the Email object itself.

withSubType

public Email withSubType(String subType)

Set the subType value.

Parameters:

subType - the subType value to set

Returns:

the Email object itself.

withText

public Email withText(String text)

Set the text value.

Parameters:

text - the text value to set

Returns:

the Email object itself.

Applies to