ServiceSpecification Class
- java.
lang. Object - com.
azure. resourcemanager. desktopvirtualization. models. ServiceSpecification
- com.
Implements
public final class ServiceSpecification
implements JsonSerializable<ServiceSpecification>
Service specification payload.
Constructor Summary
| Constructor | Description |
|---|---|
| ServiceSpecification() |
Creates an instance of Service |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Service |
fromJson(JsonReader jsonReader)
Reads an instance of Service |
|
List<Log |
logSpecifications()
Get the log |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Service |
withLogSpecifications(List<LogSpecification> logSpecifications)
Set the log |
Methods inherited from java.lang.Object
Constructor Details
ServiceSpecification
public ServiceSpecification()
Creates an instance of ServiceSpecification class.
Method Details
fromJson
public static ServiceSpecification fromJson(JsonReader jsonReader)
Reads an instance of ServiceSpecification from the JsonReader.
Parameters:
Returns:
Throws:
logSpecifications
public List<LogSpecification> logSpecifications()
Get the logSpecifications property: Specifications of the Log for Azure Monitoring.
Returns:
toJson
validate
public void validate()
Validates the instance.
withLogSpecifications
public ServiceSpecification withLogSpecifications(List<LogSpecification> logSpecifications)
Set the logSpecifications property: Specifications of the Log for Azure Monitoring.
Parameters:
Returns: