java.lang.Object
com.azure.resourcemanager.redisenterprise.models.Capability

public final class Capability extends Object
Capability

Information about the features the location supports.

  • Constructor Details

    • Capability

      public Capability()
      Creates an instance of Capability class.
  • Method Details

    • name

      public String name()
      Get the name property: Feature name.
      Returns:
      the name value.
    • withName

      public Capability withName(String name)
      Set the name property: Feature name.
      Parameters:
      name - the name value to set.
      Returns:
      the Capability object itself.
    • value

      public Boolean value()
      Get the value property: Indicates whether feature is supported or not.
      Returns:
      the value value.
    • withValue

      public Capability withValue(Boolean value)
      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.