CapabilityInner Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. fluent. models. CapabilityInner
- com.
Implements
public final class CapabilityInner
implements JsonSerializable<CapabilityInner>
Describes the capabilities/features allowed for a specific SKU.
Constructor Summary
Constructor | Description |
---|---|
CapabilityInner() |
Creates an instance of Capability |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Capability |
fromJson(JsonReader jsonReader)
Reads an instance of Capability |
String |
name()
Get the name property: Name of the SKU capability. |
String |
reason()
Get the reason property: Reason of the SKU capability. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: Value of the SKU capability. |
Capability |
withName(String name)
Set the name property: Name of the SKU capability. |
Capability |
withReason(String reason)
Set the reason property: Reason of the SKU capability. |
Capability |
withValue(String value)
Set the value property: Value of the SKU capability. |
Methods inherited from java.lang.Object
Constructor Details
CapabilityInner
public CapabilityInner()
Creates an instance of CapabilityInner class.
Method Details
fromJson
public static CapabilityInner fromJson(JsonReader jsonReader)
Reads an instance of CapabilityInner from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the SKU capability.
Returns:
reason
public String reason()
Get the reason property: Reason of the SKU capability.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Value of the SKU capability.
Returns:
withName
public CapabilityInner withName(String name)
Set the name property: Name of the SKU capability.
Parameters:
Returns:
withReason
public CapabilityInner withReason(String reason)
Set the reason property: Reason of the SKU capability.
Parameters:
Returns:
withValue
public CapabilityInner withValue(String value)
Set the value property: Value of the SKU capability.
Parameters:
Returns:
Applies to
Azure SDK for Java