Class JobService
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.JobService
-
public final class JobService extends Object
Job endpoint definition.
-
-
Constructor Summary
Constructors Constructor Description JobService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
endpoint()
Get the endpoint property: Url for endpoint.String
errorMessage()
Get the errorMessage property: Any error in the service.String
jobServiceType()
Get the jobServiceType property: Endpoint type.Integer
port()
Get the port property: Port for endpoint.Map<String,String>
properties()
Get the properties property: Additional properties to set on the endpoint.String
status()
Get the status property: Status of endpoint.void
validate()
Validates the instance.JobService
withEndpoint(String endpoint)
Set the endpoint property: Url for endpoint.JobService
withJobServiceType(String jobServiceType)
Set the jobServiceType property: Endpoint type.JobService
withPort(Integer port)
Set the port property: Port for endpoint.JobService
withProperties(Map<String,String> properties)
Set the properties property: Additional properties to set on the endpoint.
-
-
-
Method Detail
-
endpoint
public String endpoint()
Get the endpoint property: Url for endpoint.- Returns:
- the endpoint value.
-
withEndpoint
public JobService withEndpoint(String endpoint)
Set the endpoint property: Url for endpoint.- Parameters:
endpoint
- the endpoint value to set.- Returns:
- the JobService object itself.
-
errorMessage
public String errorMessage()
Get the errorMessage property: Any error in the service.- Returns:
- the errorMessage value.
-
jobServiceType
public String jobServiceType()
Get the jobServiceType property: Endpoint type.- Returns:
- the jobServiceType value.
-
withJobServiceType
public JobService withJobServiceType(String jobServiceType)
Set the jobServiceType property: Endpoint type.- Parameters:
jobServiceType
- the jobServiceType value to set.- Returns:
- the JobService object itself.
-
port
public Integer port()
Get the port property: Port for endpoint.- Returns:
- the port value.
-
withPort
public JobService withPort(Integer port)
Set the port property: Port for endpoint.- Parameters:
port
- the port value to set.- Returns:
- the JobService object itself.
-
properties
public Map<String,String> properties()
Get the properties property: Additional properties to set on the endpoint.- Returns:
- the properties value.
-
withProperties
public JobService withProperties(Map<String,String> properties)
Set the properties property: Additional properties to set on the endpoint.- Parameters:
properties
- the properties value to set.- Returns:
- the JobService object itself.
-
status
public String status()
Get the status property: Status of endpoint.- Returns:
- the status value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-