Delen via


CustomPrebuiltModel Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.luis.authoring.models.CustomPrebuiltModel

public class CustomPrebuiltModel

A Custom Prebuilt model.

Method Summary

Modifier and Type Method and Description
String customPrebuiltDomainName()

Get the customPrebuiltDomainName value.

String customPrebuiltModelName()

Get the customPrebuiltModelName value.

UUID id()

Get the id value.

String name()

Get the name value.

String readableType()

Get the readableType value.

List<EntityRole> roles()

Get the roles value.

Integer typeId()

Get the typeId value.

CustomPrebuiltModel withCustomPrebuiltDomainName(String customPrebuiltDomainName)

Set the customPrebuiltDomainName value.

CustomPrebuiltModel withCustomPrebuiltModelName(String customPrebuiltModelName)

Set the customPrebuiltModelName value.

CustomPrebuiltModel withId(UUID id)

Set the id value.

CustomPrebuiltModel withName(String name)

Set the name value.

CustomPrebuiltModel withReadableType(String readableType)

Set the readableType value.

CustomPrebuiltModel withRoles(List<EntityRole> roles)

Set the roles value.

CustomPrebuiltModel withTypeId(Integer typeId)

Set the typeId value.

Method Details

customPrebuiltDomainName

public String customPrebuiltDomainName()

Get the customPrebuiltDomainName value.

Returns:

the customPrebuiltDomainName value

customPrebuiltModelName

public String customPrebuiltModelName()

Get the customPrebuiltModelName value.

Returns:

the customPrebuiltModelName value

id

public UUID id()

Get the id value.

Returns:

the id value

name

public String name()

Get the name value.

Returns:

the name value

readableType

public String readableType()

Get the readableType value.

Returns:

the readableType value

roles

public List roles()

Get the roles value.

Returns:

the roles value

typeId

public Integer typeId()

Get the typeId value.

Returns:

the typeId value

withCustomPrebuiltDomainName

public CustomPrebuiltModel withCustomPrebuiltDomainName(String customPrebuiltDomainName)

Set the customPrebuiltDomainName value.

Parameters:

customPrebuiltDomainName - the customPrebuiltDomainName value to set

Returns:

the CustomPrebuiltModel object itself.

withCustomPrebuiltModelName

public CustomPrebuiltModel withCustomPrebuiltModelName(String customPrebuiltModelName)

Set the customPrebuiltModelName value.

Parameters:

customPrebuiltModelName - the customPrebuiltModelName value to set

Returns:

the CustomPrebuiltModel object itself.

withId

public CustomPrebuiltModel withId(UUID id)

Set the id value.

Parameters:

id - the id value to set

Returns:

the CustomPrebuiltModel object itself.

withName

public CustomPrebuiltModel withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the CustomPrebuiltModel object itself.

withReadableType

public CustomPrebuiltModel withReadableType(String readableType)

Set the readableType value.

Parameters:

readableType - the readableType value to set

Returns:

the CustomPrebuiltModel object itself.

withRoles

public CustomPrebuiltModel withRoles(List roles)

Set the roles value.

Parameters:

roles - the roles value to set

Returns:

the CustomPrebuiltModel object itself.

withTypeId

public CustomPrebuiltModel withTypeId(Integer typeId)

Set the typeId value.

Parameters:

typeId - the typeId value to set

Returns:

the CustomPrebuiltModel object itself.

Applies to