Class MetadatasObject

    • Constructor Detail

      • MetadatasObject

        public MetadatasObject()
        empty constructor
      • MetadatasObject

        public MetadatasObject​(java.lang.String objectName,
                               java.lang.String type,
                               java.lang.String digest,
                               long fileSize,
                               java.lang.String lastAccessDate,
                               java.lang.String lastModifiedDate)
        Constructor to initialize the needed parameters for get metadata results
        Parameters:
        objectName - the object name
        type - the type of metadata object
        digest - of metadata object
        fileSize - of metadata object
        lastAccessDate - of metadata object
        lastModifiedDate - of metadata object
    • Method Detail

      • getObjectName

        public java.lang.String getObjectName()
        Returns:
        object name
      • setObjectName

        public MetadatasObject setObjectName​(java.lang.String objectName)
        Parameters:
        objectName - of metadata object to set
        Returns:
        MetadatasObjectResult
      • getType

        public java.lang.String getType()
        Returns:
        type
      • setType

        public MetadatasObject setType​(java.lang.String type)
        Parameters:
        type - of metadata object to set
        Returns:
        MetadatasObjectResult
      • getDigest

        public java.lang.String getDigest()
        Returns:
        digest
      • setDigest

        public MetadatasObject setDigest​(java.lang.String digest)
        Parameters:
        digest - of metadata object to set
        Returns:
        MetadatasObjectResult
      • getFileSize

        public long getFileSize()
        Returns:
        the file size of metadata object
      • setFileSize

        public MetadatasObject setFileSize​(long fileSize)
        Parameters:
        fileSize - of metadata object to set
        Returns:
        MetadatasObjectResult
      • getLastAccessDate

        public java.lang.String getLastAccessDate()
        Returns:
        file's last access date
      • setLastAccessDate

        public MetadatasObject setLastAccessDate​(java.lang.String lastAccessDate)
        Parameters:
        lastAccessDate - of metadata object to set
        Returns:
        MetadatasObjectResult
      • getLastModifiedDate

        public java.lang.String getLastModifiedDate()
        Returns:
        file's last modifiedDate
      • setLastModifiedDate

        public MetadatasObject setLastModifiedDate​(java.lang.String lastModifiedDate)
        Parameters:
        lastModifiedDate - of metadata object to set
        Returns:
        MetadatasObjectResult