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 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.
-
-
-
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.
-
-