ServiceResponseBase Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearningservices. models. ServiceResponseBase
- com.
public class ServiceResponseBase
The base service response. The correct inherited response based on computeType will be returned (ex. ACIServiceResponse).
Constructor Summary
Constructor | Description | |
---|---|---|
ServiceResponseBase() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Deployment |
deploymentType()
Get the deployment |
String |
description()
Get the description property: The service description. |
Service |
error()
Get the error property: The error details. |
Map<String,String> |
kvTags()
Get the kv |
Map<String,String> |
properties()
Get the properties property: The service property dictionary. |
Web |
state()
Get the state property: The current state of the service. |
void |
validate()
Validates the instance. |
Service |
withDeploymentType(DeploymentType deploymentType)
Set the deployment |
Service |
withDescription(String description)
Set the description property: The service description. |
Service |
withKvTags(Map<String,String> kvTags)
Set the kv |
Service |
withProperties(Map<String,String> properties)
Set the properties property: The service property dictionary. |
Methods inherited from java.lang.Object
Constructor Details
ServiceResponseBase
public ServiceResponseBase()
Method Details
deploymentType
public DeploymentType deploymentType()
Get the deploymentType property: The deployment type for the service.
Returns:
description
public String description()
Get the description property: The service description.
Returns:
error
public ServiceResponseBaseError error()
Get the error property: The error details.
Returns:
kvTags
public Map
Get the kvTags property: The service tag dictionary. Tags are mutable.
Returns:
properties
public Map
Get the properties property: The service property dictionary. Properties are immutable.
Returns:
state
public WebServiceState state()
Get the state property: The current state of the service.
Returns:
validate
public void validate()
Validates the instance.
withDeploymentType
public ServiceResponseBase withDeploymentType(DeploymentType deploymentType)
Set the deploymentType property: The deployment type for the service.
Parameters:
Returns:
withDescription
public ServiceResponseBase withDescription(String description)
Set the description property: The service description.
Parameters:
Returns:
withKvTags
public ServiceResponseBase withKvTags(Map
Set the kvTags property: The service tag dictionary. Tags are mutable.
Parameters:
Returns:
withProperties
public ServiceResponseBase withProperties(Map
Set the properties property: The service property dictionary. Properties are immutable.
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