ServiceTypeDescription Class
- java.
lang. Object - system.
fabric. description. ServiceTypeDescription
- system.
public class ServiceTypeDescription
Describes the service type.
Method Summary
Modifier and Type | Method and Description |
---|---|
HashMap<String, String> |
getExtensions()
Gets the extensions for the service type. |
LinkedHashMap<String, ServiceLoadMetricDescription> |
getLoadMetrics()
Gets the type of load metric is reported by the service. |
String |
getPlacementConstraints()
Gets the constraint to be used when instantiating this service in a Service Fabric cluster. |
List<ServicePlacementPolicyDescription> |
getPolicies()
Gets the policies of the service type. |
ServiceDescriptionKind |
getServiceTypeKind()
Gets the kind of service type. |
String |
getServiceTypeName()
Gets the name of the service type. |
void |
setPlacementConstraints(String placementConstraints)
Sets the constraint to be used when instantiating this service in a Service Fabric cluster. |
void |
setPolicies(List<ServicePlacementPolicyDescription> policies)
Sets the policies of the service type. |
void |
setServiceTypeKind(ServiceDescriptionKind serviceTypeKind)
Sets the kind of service type. |
void |
setServiceTypeName(String serviceTypeName)
Gets the name of the service type. |
Method Details
getExtensions
public HashMap
Gets the extensions for the service type.
Returns:
getLoadMetrics
public LinkedHashMap
Gets the type of load metric is reported by the service.
Returns:
getPlacementConstraints
public String getPlacementConstraints()
Gets the constraint to be used when instantiating this service in a Service Fabric cluster.
Returns:
getPolicies
public List
Gets the policies of the service type.
Returns:
getServiceTypeKind
public ServiceDescriptionKind getServiceTypeKind()
Gets the kind of service type.
Returns:
getServiceTypeName
public String getServiceTypeName()
Gets the name of the service type.
Returns:
setPlacementConstraints
public void setPlacementConstraints(String placementConstraints)
Sets the constraint to be used when instantiating this service in a Service Fabric cluster.
Parameters:
setPolicies
public void setPolicies(List
Sets the policies of the service type.
Parameters:
setServiceTypeKind
public void setServiceTypeKind(ServiceDescriptionKind serviceTypeKind)
Sets the kind of service type.
Parameters:
setServiceTypeName
public void setServiceTypeName(String serviceTypeName)
Gets the name of the service type.
Parameters:
Applies to
Azure SDK for Java