Class SourceConfiguration


  • public final class SourceConfiguration
    extends Object
    A configuration item for source resource.
    • Constructor Detail

      • SourceConfiguration

        public SourceConfiguration()
    • Method Detail

      • name

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

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

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

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

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