Class SkuCapability


  • public final class SkuCapability
    extends Object
    SkuCapability indicates the capability of a certain feature.
    • Constructor Detail

      • SkuCapability

        public SkuCapability()
    • Method Detail

      • name

        public String name()
        Get the name property: The name of the SkuCapability.
        Returns:
        the name value.
      • withName

        public SkuCapability withName​(String name)
        Set the name property: The name of the SkuCapability.
        Parameters:
        name - the name value to set.
        Returns:
        the SkuCapability object itself.
      • value

        public String value()
        Get the value property: The value of the SkuCapability.
        Returns:
        the value value.
      • withValue

        public SkuCapability withValue​(String value)
        Set the value property: The value of the SkuCapability.
        Parameters:
        value - the value value to set.
        Returns:
        the SkuCapability object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.