Class ServiceObjectiveInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.sql.fluent.models.ServiceObjectiveInner
-
public class ServiceObjectiveInner extends com.azure.core.management.ProxyResourceRepresents a database service objective.
-
-
Constructor Summary
Constructors Constructor Description ServiceObjectiveInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()Get the description property: The description for the service level objective.Booleanenabled()Get the enabled property: Gets whether the service level objective is enabled.BooleanisDefault()Get the isDefault property: Gets whether the service level objective is the default service objective.BooleanisSystem()Get the isSystem property: Gets whether the service level objective is a system service objective.StringserviceObjectiveName()Get the serviceObjectiveName property: The name for the service objective.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
serviceObjectiveName
public String serviceObjectiveName()
Get the serviceObjectiveName property: The name for the service objective.- Returns:
- the serviceObjectiveName value.
-
isDefault
public Boolean isDefault()
Get the isDefault property: Gets whether the service level objective is the default service objective.- Returns:
- the isDefault value.
-
isSystem
public Boolean isSystem()
Get the isSystem property: Gets whether the service level objective is a system service objective.- Returns:
- the isSystem value.
-
description
public String description()
Get the description property: The description for the service level objective.- Returns:
- the description value.
-
enabled
public Boolean enabled()
Get the enabled property: Gets whether the service level objective is enabled.- Returns:
- the enabled value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-