ServiceResponseBase Class

  • java.lang.Object
    • com.azure.resourcemanager.machinelearningservices.models.ServiceResponseBase

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
DeploymentType deploymentType()

Get the deploymentType property: The deployment type for the service.

String description()

Get the description property: The service description.

ServiceResponseBaseError error()

Get the error property: The error details.

Map<String,String> kvTags()

Get the kvTags property: The service tag dictionary.

Map<String,String> properties()

Get the properties property: The service property dictionary.

WebServiceState state()

Get the state property: The current state of the service.

void validate()

Validates the instance.

ServiceResponseBase withDeploymentType(DeploymentType deploymentType)

Set the deploymentType property: The deployment type for the service.

ServiceResponseBase withDescription(String description)

Set the description property: The service description.

ServiceResponseBase withKvTags(Map<String,String> kvTags)

Set the kvTags property: The service tag dictionary.

ServiceResponseBase 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:

the deploymentType value.

description

public String description()

Get the description property: The service description.

Returns:

the description value.

error

public ServiceResponseBaseError error()

Get the error property: The error details.

Returns:

the error value.

kvTags

public Map kvTags()

Get the kvTags property: The service tag dictionary. Tags are mutable.

Returns:

the kvTags value.

properties

public Map properties()

Get the properties property: The service property dictionary. Properties are immutable.

Returns:

the properties value.

state

public WebServiceState state()

Get the state property: The current state of the service.

Returns:

the state value.

validate

public void validate()

Validates the instance.

withDeploymentType

public ServiceResponseBase withDeploymentType(DeploymentType deploymentType)

Set the deploymentType property: The deployment type for the service.

Parameters:

deploymentType - the deploymentType value to set.

Returns:

the ServiceResponseBase object itself.

withDescription

public ServiceResponseBase withDescription(String description)

Set the description property: The service description.

Parameters:

description - the description value to set.

Returns:

the ServiceResponseBase object itself.

withKvTags

public ServiceResponseBase withKvTags(Map kvTags)

Set the kvTags property: The service tag dictionary. Tags are mutable.

Parameters:

kvTags - the kvTags value to set.

Returns:

the ServiceResponseBase object itself.

withProperties

public ServiceResponseBase withProperties(Map properties)

Set the properties property: The service property dictionary. Properties are immutable.

Parameters:

properties - the properties value to set.

Returns:

the ServiceResponseBase object itself.

Applies to