Class CapabilityInner
- java.lang.Object
-
- com.azure.resourcemanager.appservice.fluent.models.CapabilityInner
-
public final class CapabilityInner extends Object
Describes the capabilities/features allowed for a specific SKU.
-
-
Constructor Summary
Constructors Constructor Description CapabilityInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Get the name property: Name of the SKU capability.Stringreason()Get the reason property: Reason of the SKU capability.voidvalidate()Validates the instance.Stringvalue()Get the value property: Value of the SKU capability.CapabilityInnerwithName(String name)Set the name property: Name of the SKU capability.CapabilityInnerwithReason(String reason)Set the reason property: Reason of the SKU capability.CapabilityInnerwithValue(String value)Set the value property: Value of the SKU capability.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name of the SKU capability.- Returns:
- the name value.
-
withName
public CapabilityInner withName(String name)
Set the name property: Name of the SKU capability.- Parameters:
name- the name value to set.- Returns:
- the CapabilityInner object itself.
-
value
public String value()
Get the value property: Value of the SKU capability.- Returns:
- the value value.
-
withValue
public CapabilityInner withValue(String value)
Set the value property: Value of the SKU capability.- Parameters:
value- the value value to set.- Returns:
- the CapabilityInner object itself.
-
reason
public String reason()
Get the reason property: Reason of the SKU capability.- Returns:
- the reason value.
-
withReason
public CapabilityInner withReason(String reason)
Set the reason property: Reason of the SKU capability.- Parameters:
reason- the reason value to set.- Returns:
- the CapabilityInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-