类 ScanRange

java.lang.Object
com.obs.services.model.select.XmlSerialization
com.obs.services.model.select.ScanRange

public class ScanRange extends XmlSerialization
Configuration of the scan range of the input data
  • 构造器详细资料

    • ScanRange

      public ScanRange()
  • 方法详细资料

    • withStart

      public ScanRange withStart(long start)
      Sets the offset of the first byte of data to scan Default is the beginning of the file
      参数:
      start - Start offset of the scan range
      返回:
      Self
    • withEnd

      public ScanRange withEnd(long end)
      Sets the offset of the last byte of data to scan
      参数:
      end - Start offset of the scan range
      返回:
      Self
    • appendToXml

      public void appendToXml(com.obs.services.internal.xml.OBSXMLBuilder xmlBuilder)
      Formats the input settings into the XML request
      参数:
      xmlBuilder - The xml serializer