Class ServiceProviderParameterMetadataConstraints


  • public final class ServiceProviderParameterMetadataConstraints
    extends Object
    the constraints of the bot meta data.
    • Constructor Detail

      • ServiceProviderParameterMetadataConstraints

        public ServiceProviderParameterMetadataConstraints()
    • Method Detail

      • required

        public Boolean required()
        Get the required property: Whether required the constraints of the bot meta data.
        Returns:
        the required value.
      • withRequired

        public ServiceProviderParameterMetadataConstraints withRequired​(Boolean required)
        Set the required property: Whether required the constraints of the bot meta data.
        Parameters:
        required - the required value to set.
        Returns:
        the ServiceProviderParameterMetadataConstraints object itself.
      • validate

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