Class MetadataItem


  • public class MetadataItem
    extends Object
    A name-value pair associated with a Batch service resource. The Batch service does not assign any meaning to this metadata; it is solely for the use of user code.
    • Constructor Detail

      • MetadataItem

        public MetadataItem()
    • Method Detail

      • name

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

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

        public String value()
        Get the value value.
        Returns:
        the value value
      • withValue

        public MetadataItem withValue​(String value)
        Set the value value.
        Parameters:
        value - the value value to set
        Returns:
        the MetadataItem object itself.