ServiceObjectiveInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. ServiceObjectiveInner
- com.
- com.
public final class ServiceObjectiveInner
extends ProxyResource
Represents a database service objective.
Constructor Summary
| Constructor | Description |
|---|---|
| ServiceObjectiveInner() |
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 |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| Boolean |
isDefault()
Get the is |
| Boolean |
isSystem()
Get the is |
| String |
name()
Get the name property: The name of the resource. |
| String |
serviceObjectiveName()
Get the service |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ServiceObjectiveInner
public ServiceObjectiveInner()
Creates an instance of ServiceObjectiveInner 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 ServiceObjectiveInner fromJson(JsonReader jsonReader)
Reads an instance of ServiceObjectiveInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ServiceObjectiveInner.id()Returns:
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:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ServiceObjectiveInner.name()Returns:
serviceObjectiveName
public String serviceObjectiveName()
Get the serviceObjectiveName property: The name for the service objective.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ServiceObjectiveInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ServiceObjectiveInner.type()Returns:
validate
public void validate()
Validates the instance.