EndpointKeysDTO Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.knowledge.qnamaker.models.EndpointKeysDTO

public class EndpointKeysDTO

Schema for EndpointKeys generate/refresh operations.

Constructor Summary

Constructor Description
EndpointKeysDTO()

Method Summary

Modifier and Type Method and Description
String installedVersion()

Get the installedVersion value.

String language()

Get the language value.

String lastStableVersion()

Get the lastStableVersion value.

String primaryEndpointKey()

Get the primaryEndpointKey value.

String secondaryEndpointKey()

Get the secondaryEndpointKey value.

EndpointKeysDTO withInstalledVersion(String installedVersion)

Set the installedVersion value.

EndpointKeysDTO withLanguage(String language)

Set the language value.

EndpointKeysDTO withLastStableVersion(String lastStableVersion)

Set the lastStableVersion value.

EndpointKeysDTO withPrimaryEndpointKey(String primaryEndpointKey)

Set the primaryEndpointKey value.

EndpointKeysDTO withSecondaryEndpointKey(String secondaryEndpointKey)

Set the secondaryEndpointKey value.

Methods inherited from java.lang.Object

Constructor Details

EndpointKeysDTO

public EndpointKeysDTO()

Method Details

installedVersion

public String installedVersion()

Get the installedVersion value.

Returns:

the installedVersion value

language

public String language()

Get the language value.

Returns:

the language value

lastStableVersion

public String lastStableVersion()

Get the lastStableVersion value.

Returns:

the lastStableVersion value

primaryEndpointKey

public String primaryEndpointKey()

Get the primaryEndpointKey value.

Returns:

the primaryEndpointKey value

secondaryEndpointKey

public String secondaryEndpointKey()

Get the secondaryEndpointKey value.

Returns:

the secondaryEndpointKey value

withInstalledVersion

public EndpointKeysDTO withInstalledVersion(String installedVersion)

Set the installedVersion value.

Parameters:

installedVersion - the installedVersion value to set

Returns:

the EndpointKeysDTO object itself.

withLanguage

public EndpointKeysDTO withLanguage(String language)

Set the language value.

Parameters:

language - the language value to set

Returns:

the EndpointKeysDTO object itself.

withLastStableVersion

public EndpointKeysDTO withLastStableVersion(String lastStableVersion)

Set the lastStableVersion value.

Parameters:

lastStableVersion - the lastStableVersion value to set

Returns:

the EndpointKeysDTO object itself.

withPrimaryEndpointKey

public EndpointKeysDTO withPrimaryEndpointKey(String primaryEndpointKey)

Set the primaryEndpointKey value.

Parameters:

primaryEndpointKey - the primaryEndpointKey value to set

Returns:

the EndpointKeysDTO object itself.

withSecondaryEndpointKey

public EndpointKeysDTO withSecondaryEndpointKey(String secondaryEndpointKey)

Set the secondaryEndpointKey value.

Parameters:

secondaryEndpointKey - the secondaryEndpointKey value to set

Returns:

the EndpointKeysDTO object itself.

Applies to