Class ElasticPoolEditionCapability
- java.lang.Object
-
- com.azure.resourcemanager.sql.models.ElasticPoolEditionCapability
-
public final class ElasticPoolEditionCapability extends Object
The elastic pool edition capability.
-
-
Constructor Summary
Constructors Constructor Description ElasticPoolEditionCapability()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Get the name property: The elastic pool edition name.Stringreason()Get the reason property: The reason for the capability not being available.CapabilityStatusstatus()Get the status property: The status of the capability.List<ElasticPoolPerformanceLevelCapability>supportedElasticPoolPerformanceLevels()Get the supportedElasticPoolPerformanceLevels property: The list of supported elastic pool DTU levels for the edition.voidvalidate()Validates the instance.ElasticPoolEditionCapabilitywithReason(String reason)Set the reason property: The reason for the capability not being available.BooleanzoneRedundant()Get the zoneRedundant property: Whether or not zone redundancy is supported for the edition.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The elastic pool edition name.- Returns:
- the name value.
-
supportedElasticPoolPerformanceLevels
public List<ElasticPoolPerformanceLevelCapability> supportedElasticPoolPerformanceLevels()
Get the supportedElasticPoolPerformanceLevels property: The list of supported elastic pool DTU levels for the edition.- Returns:
- the supportedElasticPoolPerformanceLevels value.
-
zoneRedundant
public Boolean zoneRedundant()
Get the zoneRedundant property: Whether or not zone redundancy is supported for the edition.- Returns:
- the zoneRedundant value.
-
status
public CapabilityStatus status()
Get the status property: The status of the capability.- Returns:
- the status value.
-
reason
public String reason()
Get the reason property: The reason for the capability not being available.- Returns:
- the reason value.
-
withReason
public ElasticPoolEditionCapability withReason(String reason)
Set the reason property: The reason for the capability not being available.- Parameters:
reason- the reason value to set.- Returns:
- the ElasticPoolEditionCapability object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-