Class Capability
java.lang.Object
com.azure.resourcemanager.redisenterprise.models.Capability
Capability
Information about the features the location supports.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name property: Feature name.void
validate()
Validates the instance.value()
Get the value property: Indicates whether feature is supported or not.Set the name property: Feature name.Set the value property: Indicates whether feature is supported or not.
-
Constructor Details
-
Capability
public Capability()Creates an instance of Capability class.
-
-
Method Details
-
name
Get the name property: Feature name.- Returns:
- the name value.
-
withName
Set the name property: Feature name.- Parameters:
name
- the name value to set.- Returns:
- the Capability object itself.
-
value
Get the value property: Indicates whether feature is supported or not.- Returns:
- the value value.
-
withValue
Set the value property: Indicates whether feature is supported or not.- Parameters:
value
- the value value to set.- Returns:
- the Capability object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-