public BucketMetadata withLastUpdated(java.util.Date lastUpdated) {
        setLastUpdated(lastUpdated);
        return this;
    }
<p>
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved bucket or
object metadata from Amazon S3 for the bucket.
</p>

@param lastUpdated
       The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved bucket
       or object metadata from Amazon S3 for the bucket.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/BucketMetadata.java