Class UsageModelDisplay


  • public final class UsageModelDisplay
    extends Object
    Localized information describing this usage model.
    • Constructor Detail

      • UsageModelDisplay

        public UsageModelDisplay()
    • Method Detail

      • description

        public String description()
        Get the description property: String to display for this usage model.
        Returns:
        the description value.
      • withDescription

        public UsageModelDisplay withDescription​(String description)
        Set the description property: String to display for this usage model.
        Parameters:
        description - the description value to set.
        Returns:
        the UsageModelDisplay object itself.
      • validate

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