ServiceObjectiveProperties Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. ServiceObjectiveProperties
- com.
Implements
public final class ServiceObjectiveProperties
implements JsonSerializable<ServiceObjectiveProperties>
Represents the properties of a database service objective.
Constructor Summary
| Constructor | Description |
|---|---|
| ServiceObjectiveProperties() |
Creates an instance of Service |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: The description for the service level objective. |
| Boolean |
enabled()
Get the enabled property: Gets whether the service level objective is enabled. |
|
static
Service |
fromJson(JsonReader jsonReader)
Reads an instance of Service |
| Boolean |
isDefault()
Get the is |
| Boolean |
isSystem()
Get the is |
| String |
serviceObjectiveName()
Get the service |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
ServiceObjectiveProperties
public ServiceObjectiveProperties()
Creates an instance of ServiceObjectiveProperties class.
Method Details
description
public String description()
Get the description property: The description for the service level objective.
Returns:
enabled
public Boolean enabled()
Get the enabled property: Gets whether the service level objective is enabled.
Returns:
fromJson
public static ServiceObjectiveProperties fromJson(JsonReader jsonReader)
Reads an instance of ServiceObjectiveProperties from the JsonReader.
Parameters:
Returns:
Throws:
isDefault
public Boolean isDefault()
Get the isDefault property: Gets whether the service level objective is the default service objective.
Returns:
isSystem
public Boolean isSystem()
Get the isSystem property: Gets whether the service level objective is a system service objective.
Returns:
serviceObjectiveName
public String serviceObjectiveName()
Get the serviceObjectiveName property: The name for the service objective.
Returns:
toJson
validate
public void validate()
Validates the instance.