Class DataFileSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        public DataFileSummary.Builder name​(String name)
        The name to use as identifier for the data file.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • apmType

        public DataFileSummary.Builder apmType​(String apmType)
        The type of the data file, indicating its intended use Example: source_map
        Parameters:
        apmType - the value to set
        Returns:
        this builder
      • sizeInBytes

        public DataFileSummary.Builder sizeInBytes​(Long sizeInBytes)
        Size of the object in bytes.
        Parameters:
        sizeInBytes - the value to set
        Returns:
        this builder
      • md5

        public DataFileSummary.Builder md5​(String md5)
        Base64-encoded MD5 hash of the object data.
        Parameters:
        md5 - the value to set
        Returns:
        this builder
      • timeLastModified

        public DataFileSummary.Builder timeLastModified​(Date timeLastModified)
        The last time the object was modified, as described in RFC 2616.

        Expressed in RFC 3339 timestamp format. Example: 2020-02-19T22:47:12.613Z

        Parameters:
        timeLastModified - the value to set
        Returns:
        this builder
      • metadata

        public DataFileSummary.Builder metadata​(Map<String,​String> metadata)
        Metadata properties related to the data file.
        Parameters:
        metadata - the value to set
        Returns:
        this builder