Class EndpointKeysDTO
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.knowledge.qnamaker.models.EndpointKeysDTO
-
public class EndpointKeysDTO extends Object
Schema for EndpointKeys generate/refresh operations.
-
-
Constructor Summary
Constructors Constructor Description EndpointKeysDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringinstalledVersion()Get the installedVersion value.Stringlanguage()Get the language value.StringlastStableVersion()Get the lastStableVersion value.StringprimaryEndpointKey()Get the primaryEndpointKey value.StringsecondaryEndpointKey()Get the secondaryEndpointKey value.EndpointKeysDTOwithInstalledVersion(String installedVersion)Set the installedVersion value.EndpointKeysDTOwithLanguage(String language)Set the language value.EndpointKeysDTOwithLastStableVersion(String lastStableVersion)Set the lastStableVersion value.EndpointKeysDTOwithPrimaryEndpointKey(String primaryEndpointKey)Set the primaryEndpointKey value.EndpointKeysDTOwithSecondaryEndpointKey(String secondaryEndpointKey)Set the secondaryEndpointKey value.
-
-
-
Method Detail
-
primaryEndpointKey
public String primaryEndpointKey()
Get the primaryEndpointKey value.- Returns:
- the primaryEndpointKey value
-
withPrimaryEndpointKey
public EndpointKeysDTO withPrimaryEndpointKey(String primaryEndpointKey)
Set the primaryEndpointKey value.- Parameters:
primaryEndpointKey- the primaryEndpointKey value to set- Returns:
- the EndpointKeysDTO object itself.
-
secondaryEndpointKey
public String secondaryEndpointKey()
Get the secondaryEndpointKey value.- Returns:
- the secondaryEndpointKey value
-
withSecondaryEndpointKey
public EndpointKeysDTO withSecondaryEndpointKey(String secondaryEndpointKey)
Set the secondaryEndpointKey value.- Parameters:
secondaryEndpointKey- the secondaryEndpointKey value to set- Returns:
- the EndpointKeysDTO object itself.
-
installedVersion
public String installedVersion()
Get the installedVersion value.- Returns:
- the installedVersion value
-
withInstalledVersion
public EndpointKeysDTO withInstalledVersion(String installedVersion)
Set the installedVersion value.- Parameters:
installedVersion- the installedVersion value to set- Returns:
- the EndpointKeysDTO object itself.
-
lastStableVersion
public String lastStableVersion()
Get the lastStableVersion value.- Returns:
- the lastStableVersion value
-
withLastStableVersion
public EndpointKeysDTO withLastStableVersion(String lastStableVersion)
Set the lastStableVersion value.- Parameters:
lastStableVersion- the lastStableVersion value to set- Returns:
- the EndpointKeysDTO object itself.
-
language
public String language()
Get the language value.- Returns:
- the language value
-
withLanguage
public EndpointKeysDTO withLanguage(String language)
Set the language value.- Parameters:
language- the language value to set- Returns:
- the EndpointKeysDTO object itself.
-
-