EndpointKeysDTO Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. knowledge. qnamaker. models. EndpointKeysDTO
- com.
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 installed |
String |
language()
Get the language value. |
String |
lastStableVersion()
Get the last |
String |
primaryEndpointKey()
Get the primary |
String |
secondaryEndpointKey()
Get the secondary |
Endpoint |
withInstalledVersion(String installedVersion)
Set the installed |
Endpoint |
withLanguage(String language)
Set the language value. |
Endpoint |
withLastStableVersion(String lastStableVersion)
Set the last |
Endpoint |
withPrimaryEndpointKey(String primaryEndpointKey)
Set the primary |
Endpoint |
withSecondaryEndpointKey(String secondaryEndpointKey)
Set the secondary |
Methods inherited from java.lang.Object
Constructor Details
EndpointKeysDTO
public EndpointKeysDTO()
Method Details
installedVersion
public String installedVersion()
Get the installedVersion value.
Returns:
language
public String language()
Get the language value.
Returns:
lastStableVersion
public String lastStableVersion()
Get the lastStableVersion value.
Returns:
primaryEndpointKey
public String primaryEndpointKey()
Get the primaryEndpointKey value.
Returns:
secondaryEndpointKey
public String secondaryEndpointKey()
Get the secondaryEndpointKey value.
Returns:
withInstalledVersion
public EndpointKeysDTO withInstalledVersion(String installedVersion)
Set the installedVersion value.
Parameters:
Returns:
withLanguage
public EndpointKeysDTO withLanguage(String language)
Set the language value.
Parameters:
Returns:
withLastStableVersion
public EndpointKeysDTO withLastStableVersion(String lastStableVersion)
Set the lastStableVersion value.
Parameters:
Returns:
withPrimaryEndpointKey
public EndpointKeysDTO withPrimaryEndpointKey(String primaryEndpointKey)
Set the primaryEndpointKey value.
Parameters:
Returns:
withSecondaryEndpointKey
public EndpointKeysDTO withSecondaryEndpointKey(String secondaryEndpointKey)
Set the secondaryEndpointKey value.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for